I have tried the same example (\Flash Magic\Bootloaders\External Memory\LPCxpresso18S37) in my LPC1833 board with flash ROM MX25L3233FM2I by changing the descriptor file, but it does not work.
I am new to the LPC18xx controller. In an earlier post, I read that the bootloader code needs to be store in the RAM location not in flash.
How can I find the exact RAM location to store the bootloader code?
I have tried the below code of descriptor, that does not work.
DESCRIPTOR_HEADER, // must be DESCRIPTOR_HEADER
DESCRIPTOR_VERSION, // must be DESCRIPTOR_VERSION
BOOTLOADER_FUNC_BASIC, // bootloader functionality (ORing of BOOTLOADER_FUNC_xxx)
VERSION, // version number of bootloader
0x80000000, // programmable memory start address
0x801FFFFF, // programmable memory end address
0x10000500, // ram start address (for bootloader storage)
0x10001FFF, // ram end address (for bootloader storage)
0x1000, // programmable sector size in bytes
0xFF, // programmable memory erased value
256, // number of bytes to program at once
115200, // communication baudrate
DESCRIPTOR_BOOTSTRAP_CORTEXUART, // use ISP to download this bootloader
115200, // baudrate to use for downloading bootloader
0, // ram address for commmand mailbox (0 = not used)
0, // ram address for response mailbox (0 = not used)
0,
Could anyone please provide some details to design the bootloader code?