Go Down

Topic: LGT8F328P - burn bootloader issue (Read 892 times) previous topic - next topic

R630

I bought LGT8F328P LQFP32 MiniEVB, which is clone of arduino Nano. But it also uses clone of ATmega328P chip from Atmel -> LGT8F328P from LogicGreen. It have a lot of advantages (32 MHZ internal oscillator, additional 16bit timer, SWD, DAC, ...). Only disadvantage that I found is that it does not have "true" EEPROM (it uses FLASH memory to simulate EEPROM).

Suddenly, when I was playing with this fake EEPROM, the board stopped working -> I was not able to upload any sketch, and it also did not react to reset button. So I found out that bootloader is probably missing.

I have tried to burn bootloader with another arduino board (arduinoISP; burn bootloader - arduino as ISP) with out success (error: device signature 0x000000).
I have also tried to burin it with "LarduinoISP" sketch found on the Internet, but it is made for LGT8F328D (D not P). It uses arduinos SPI to simulate SWD interface (SWD/SWC/RESET). Again without success (error out of sync  rc=-1).

Does anyone have any experience with burning bootloader on this board?
Could be the problem in fuses or baud rate?
I you have better luck than me could you post a link for any tutorial about bootloader on this board?
If is necessary programmer could you give a link for it?


Bootloader that should be burnt:
https://github.com/SuperUserNameMan/Larduino_HSP/tree/master/hardware/LGT/avr/bootloaders/lgt8fx8p

Datasheet: (3 translated versions)
(1) https://github.com/SuperUserNameMan/LGT8F328P-Testing/blob/master/LGT8FX8P_databook_v1.0.5-English.pdf
(2) https://www.avrfreaks.net/sites/default/files/forum_attachments/LGT8F88P%20LGT8F168P%20LGT8F328P%20translated.pdf

(3) find "LGT8FX8P_databook_v1.0.4.en.pdf" in this forum (I think tis is best one): https://github.com/RalphBacon/LGT8F328P-Arduino-Clone-Chip-ATMega328P/issues/2

Other discussion about this issue that could help:
https://octolinker-demo.now.sh/LGTMCU/LarduinoISP/issues/1
https://octolinker-demo.now.sh/dbuezas/lgt8fx/issues/9

Thank you for your helpful advidces.

westfw

Quote
So I found out that bootloader is probably missing.
Perhaps it is more broken than that.   Do you know if  "LarduinoISP"works on a known-good board?
AFAIK, none of the standard AVR programming tools (ArduinoISP) will work on the LGT chips.


R630

Perhaps it is more broken than that.   Do you know if  "LarduinoISP"works on a known-good board?
AFAIK, none of the standard AVR programming tools (ArduinoISP) will work on the LGT chips.
No, it is not working, because it is for LGT328=>D<= chip not ...P. It probably uses different upload speed or have some other difference.

Go Up