Показать сообщение отдельно
Старый 16.09.2012, 18:56   #8 (permalink)
Админ
 
Аватар для Admin
 
Регистрация: 07.09.2008
Сообщений: 3,577
Вы сказали Спасибо: 265
Поблагодарили 13,456 раз(а) в 1,261 сообщениях
Сказал(а) Фууу!: 28
Сказали Фууу! 0 раз(а) в 0 сообщениях
Откуда: Москва
Авто: Ford Fiesta
По умолчанию

Кое-что для переделки Carprog.
In attach is solution how to, pictures, instructions, software, all info.
I manage to reprogram with success using a old Wiggler J-tag on LTP. Screen shot attached.

С помощью такого можно: http://www.////.com/itm/ARM-Parallel...item231f167f60

Carprog Mcu AT91SAM7S256 Reflash - пошаговая инструкция (not necessary to remove AT88SC eeprom).

После 50 использований срабатывает счетчик: "260 uses left - update hardware to synchronize" и т.п...

То что нужно:

1.- AT91SAM7S256 bin: http://autoprogs.ru/attachments/prog...og-rev-0.3.rar

2. Jtag programmer:


3.- Jtag software: http://autoprogs.ru/attachments/prog....1-release.rar

4. We need to prepare the Carprog to connect to Jtag programmer but first the flash need to be erased, the Jtag function in mcu is dissabled, you can't connect to the mcu before erase the flash. Remove the AT88SC eeprom from the board, please note where is the pin 1 in eeprom before remove:



Carefully lift the pin 55 (reset) of the mcu and solder a wire and secure it with a small ammount of silicone (you don't want to broke the pin in the process).
Connect the Carprog (with the pin 55 dissconected) to the 12v supply, wait about 10 seconds and connect the wire from pin 55 to Vcc (3.3V) in Carprog:




Wait from 5 to 10 seconds after connect the 12v supply, the flash content will be erased and the Jtag option of the Mcu will be enabled now. If not work leave connected for about 3 to 5 minutes. Disconnect the 12v supply from carprog and remove the pin 55 wire from vcc. The pin 55 must remain disconnected until the programming process is done.

Install the H-JTAG software in your pc:


Now we can make the connections from Carprog to Jtag programmer:

Carprog Pinout:


Jtag Pinout:


And here is the Carprog connected to the JTAG programmer (note that the pin 55 wire is disconnected):


After the H-Jtag sotware is installed we can procced to configure:

Open the H-Jtag server and make the adjustments:

Select the port:


LPT Jtag setting:


TAP configuration:


Target manager:


Now connect the carprog to JTag programmer and 12v supply and press "Detect Target" in H-TAG server, now the Carprog Mcu is detected!!!:


Now we procced to program the AT91 mcu:

Start the H-FLASHER and select the AT91SAM7S256 from the list:


-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.:


Now press the "Program" button and wait to finish:


If the progrmming was succefull you will receive the next message:


You can verify again if everything is ok by pressing the button "Verify":


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.


I already made some further tests and the Carprog works well with any version of the software and the COUNTER IS GONE!!!
Tested with versions: 3.75, 4.0, 4.1, 4.5, 4.85 and 4.86, the counter never start again.
Изображения
Тип файла: jpg Untitled.jpg (20.6 Кб, 774 просмотров)
Тип файла: jpg Untitled2.jpg (20.1 Кб, 472 просмотров)
Вложения
Тип файла: rar www.autoprogs.ru-H-JTAG-V2.1-RELEASE.rar (5.88 Мб, 1485 просмотров)
Тип файла: rar www.autoprogs.ru-Project carprog - rev 0.3.rar (6.57 Мб, 2200 просмотров)
Admin вне форума   Ответить с цитированием
Эти 55 пользователя(ей) сказали Спасибо Admin за сообщение:
AlexKlim (04.01.2014), AlexUSA (23.08.2015), alibuba (03.01.2016), amerocanada (28.08.2018), Artbell (10.03.2017), avg (28.07.2013), ayrattaziev72 (08.04.2020), azare (29.12.2012), bersergey (30.01.2017), Beso (04.01.2014), cap-obd (17.04.2016), cokejay (01.10.2015), danielif (29.07.2013), DELOK (08.05.2013), denis0687 (13.09.2016), dmitrii1971 (08.11.2014), domeh (27.02.2014), dust (05.07.2014), fakker (30.07.2013), fazaura (04.06.2015), Frontera_i (15.10.2017), gryglk (11.11.2017), GUS (10.02.2014), igor8888 (05.04.2015), jabberok (08.08.2017), klapan (31.10.2013), kyzka (25.07.2013), l.zub (02.12.2014), lakitop (03.01.2014), lamaster (11.01.2017), legrek (05.03.2016), MAX86 (14.11.2013), MB_doc (13.02.2013), militarist33 (16.03.2015), qwert3433 (20.05.2014), remolyy (29.11.2017), Renold (13.05.2014), rmvl (10.07.2014), rrrobis (30.03.2013), sae67 (05.10.2015), sem911 (07.06.2013), sergnovoukr (15.05.2020), serow (21.11.2017), shujr (09.05.2013), simon32 (20.06.2014), Stas0929 (01.01.2015), stilnik (29.12.2013), ttawa (28.02.2013), vasa22 (25.04.2015), Wema (28.07.2014), wital555 (18.04.2014), yudin (25.05.2014), ДО100 (28.11.2013), Олег3618 (08.11.2019), Рустам Викторович (26.11.2013)