I am very new to LPC2148. And I want to do simple LED blink example program in the beginning . I have written code but I do not know how to dump hex file. Is it done using UART ????
Can any one tell the procedure to dump hex file.
What development board are you using? Development board comes with inbuilt bootloader. Basically two types of bootloader is there ,USB and UART. If your board is programmed with UART bootloader you can use flash magic for uploading the hex file. The procedure for doing this should be mentioned on the user manual of your board. Please read the user manual of your board
Yes Development board has inbuilt bootloader. I have created hex file using flash magic. But the problem comes when dumping hex file into the chip. It gives error like "Operation Failed. Failed to autobaud - step 1."
I am stuck here.
Hi ragi,
I faced same problem with flash magic to program LPC2148. Mostly this problem
because of baud mismatch between transmitter & receiver.
If your using internal RC oscillator as a system clock, just switch to crystal oscillator might it works,
and check power supply is in the range or not.
There are several things need to be taken care while programming LPC2148 over USB to Serial Converter using Flash Magic Tool. There are plenty of different board manufacturer and every board/kit maker keep some setting which he feel comfortable to work with. In Embedded system every engineer has his own technique to optimize/overcome Issue. Anyways If I write here how to fix problem such as auobaud rate issue with Flash Magic while uploading .HEX file. it will take several hours to me rather I will share with some cool links. These post also have plenty of YouTube video.