Take the DMM and find these connections, takes a minute
Take the DMM and find these connections, takes a minuteHello DavidAlfa, thank you for the schematic, it's very helpful actually since I had not much clue on what PICkit header pin I have to pair to which PIC16lf1847.
Having your picture in front of me I will certainly help me find the right pinheader on the PCB much faster. Looking forward for the amazon delivery, it looks like it's going to be today, cannot wait to get back home.
Tinfever already gave some details about the software, I hope I will get the settings right.
Cheers
Edit: if anyone knows what U6 could be, I'm all ears. It is a SOT23-5 (I think), 5-pins, with the markings "AATJ". It's got me stumped.
Edit: if anyone knows what U6 could be, I'm all ears. It is a SOT23-5 (I think), 5-pins, with the markings "AATJ". It's got me stumped.Hello tinfever,
I have run into some issues, I received the Pickit 2 and used with the pikkit2 app, see the picture. Problem is that I cannot find the right device - 16lf1847 and i tried couple of them.
I cannot find any dropdown menu that gives me that device to select.
While selecting random chips, the voltage was going from 3.3 to 5 v by itself.. forgot to turn off the target vdd. This is because i am working on the board that I pulled out so I have to put power.
I can still read the chip, that means the 5V was not killing-it yet. Even in this case, it gets the read protection bits and the device model I chose does not have the EEprom data availble.
Hello again,
Thanks for the reply, it's not supported by PICkit 2, so I will have to wait until I receive the ali one 16$CAN compare to min 30$ on amazonn.
Question, is the one you have able to go from MPLAB mode and standalone mode ok?
I mean, it's no problem to load on yours the original microchip FW and also converted back to MPlab mode.
I just want to make sure my clone will be usable in both modes, before I do something to ruin-it.
The PICkit 2 I have since yesterday did not gave me any error messages, with all the MPLAB versions, it seems to be always detected and works fine to generate power to the PIC chip, I verified.
It really itches me to buy the ceapest kit3 from amazonn with tomorrow delivery, but it's too much money spent on this project. Better wait a little bit.
Also today I had a chance to use the microchip software and get familiarized - never used before.
- To attempt to load my EEPROM dump of a working PIC, go to File > Import Hex, and select the hex dump I've attached. It's empty for all the program memory but it still contains the EEPROM data.
Strange... My eeprom area reads all 0s when CP /CPD bits are set!
Woo! I can confirm that I was able to bring a locked out battery back to life by reloading it with old EEPROM data!
I've attached both the initial working PIC dump and the PIC dump after entering 32x red LED flash lockout.
Have you tried the simplest method I said earlier?
Just filling it with FFs, simulating an unprogrammed EEPROM.
Woo! I can confirm that I was able to bring a locked out battery back to life by reloading it with old EEPROM data!
I've attached both the initial working PIC dump and the PIC dump after entering 32x red LED flash lockout.Hey tinfever, congrats! I have accomplished also unlocking on the trials from yesterday and today I just finished making a video about the whole process, while recovering the last V6 (SV03), never touched, locked battery pack.
I am not sure if restoring the same unlocked hex file to all the packs will work. They are so different. It may not work.
I found by many trials the 2 eeprom data locations that need to be changed, and the pack will unlock.
I unlocked all the 3 original BMS that I had, including the last SV03 I had, untouched one. Just writing those 2 locations and not the whole eeprom.
Similar, for your V7, how do you know if the unlocked V6 data will work on the V7 version of the pcb?
If you want to see the video I posted, it's here:
https://youtu.be/7t9yA3_KUI0
Video description is pointing back to this thread, for others to see the complete details.
Cheers
Normally you can select/copy/paste the hex values, also fill ranges.
Why do you keep using such old and outdated utility?
... Unfortunately the PICKit 3 standalone software is required because I don't believe there is a functional way in MPLABX IPE or IDE to program the EEPROM of a device with the CP bit set, but CPD bit clear, without erasing the program memory.