I are puzzled about LPC2300 bootloader,please give me some guidance, thanks!
1) bootloader in lpc2368 flash, Is it possible be earsed by Uvision3 IDE or the other flash utility? 2) in case the bootloader is earsed, how to restore it, 3) in uVision3 IDE, I selected Flash | Erase after this operating, i can't erase or programming the flash anymore, can i assert the bootloader in this LPC2368 is destroyed?
The detail procedures are as below, although i solved this problem, but have not a reasonable explanation.
let's introduce my tools first, uVision3 IDE V3.53, FlashMagic V4.15, uLink2 MCB2300 Eval board, Target board(LPC2366)
1) connection pc-usb-ulink2, ulink2-JTAG-target board , target board-RS232-pc 2) select Flash | Erase in IDE message "Full Chip Erased" appears in output window. if selcet Flash | Download, everything are OK if reset target board's power after erasing full chip, Flash | Download can't be done anymore a message window shows "Error:Flash Download failed-ARM7TDMI" if try again, IDE lose JTAG reset ulink and target board power, JTAG can be detected, if try to Download or erase, JTAG lost again, the above procedures are repeatable. 3) Connect P2_10 to GND, use FlashMagic load firmware to flash, target board is working again(means this micro can be operated by FlashMagic and ulink), in principle, empty flash also can forced cpu enters ISP mode, but i found pull down p2_10 is necessary.
The problem you had encountered is different, but hope my experiences is helpful to you.