2018/01/05

Free Download Carprog AT91SAM7S256 Reflash Dump

Here’s little tutorial on programming and re-flashing mcu AT91SAM7S256 with carprog and jtag (including dump and program download)

We need:
1- dump+ program for JTAG
2- Jtag programmer
3-carprog programmer (carprog 7.28 or carprog 8.21 online version)

JTAG programmer pinout
jtag-pin-out
Jtag 20 pin
jtag-20-pin
Download H-Jtag software above
After the H-Jtag sotware is installed we can procced to configure:
Open the H-Jtag server and make the adjustments:
Select the port:
read-jtag-1
LPT Jtag setting:
read-jtag-2
TAP configuration:
read-jtag-3
Target manager:
read-jtag-4
Now connect the carprog full to JTag programmer and 12v supply and press “Detect Target” in H-TAG server, now the Carprog Mcu is detected!!!:
read-jtag-5
Now we procced to program the AT91 mcu:
Start the H-FLASHER and select the AT91SAM7S256 from the list
read-jtag-6
-Go to “4 Programming” in the programming wizzard and press “Check” to verify the communication with the target mcu, if all is ok the values must be:
Flash: AT91SAM7S256 0x270D0940
Target: ARM7TDMI LITTLE-ENDIAN
-In “Type” select: “Plain Binary Format”
-In “Dst Addr” select: “Flash Base Address”
-In “Src File” select the location of the AT91SAM7S256.bin in your hard drive.:
read-jtag-7
Now press the “Program” button and wait to finish:
read-jtag-8
If the progrmming was succefull you will receive the next message:
read-jtag-9
You can verify again if everything is ok by pressing the button “Verify”:
read-jtag-10
The programming process is finished!!, disconnect the 12v supply, then disconnect the programmer from carprog, solder the pin 55 wire to Ground (check the picture) and put back the AT88SC eeprom, reassemble the carprog and test it.

How to reflash AT91SAM7S256 mcu with jtag?
1- Remove AT88sc or lift AT88sc Pin4 only before erase the ARM7TDMI
2- Connect the CarProg clone device to USB cable
3- Connect the Carprog device to jTag device
4- Erase the ARM7TDMI by connect the WIRE Pin (in white circle) at VCC Pin
5- Config the j-Tag programmer like pictures
carprog-reflash-AT91SAM7S256-1
carprog-reflash-AT91SAM7S256-2
carprog-reflash-AT91SAM7S256-3
carprog-reflash-AT91SAM7S256-4
carprog-reflash-AT91SAM7S256-5
carprog-reflash-AT91SAM7S256-6
6- If the ARM7TDMI is successfully erased the program can be recognized in ARM7TDMI
carprog-reflash-AT91SAM7S256-7
carprog-reflash-AT91SAM7S256-8
7- Disconnect the WIRE Pin from VCC Pin
8- Program the carprog device with NEW Flash File
carprog-reflash-AT91SAM7S256-9
carprog-reflash-AT91SAM7S256-10
carprog-reflash-AT91SAM7S256-11
carprog-reflash-AT91SAM7S256-12
carprog-reflash-AT91SAM7S256-13
carprog-reflash-AT91SAM7S256-14
carprog-reflash-AT91SAM7S256-15
9- After successful programming solder back AT88sc eEprom to the board
or connect the Pin4 to GND
10- RUN CarProg device.


Disclaimer:  You are at your risk.
carprog-download

No comments:

Post a Comment