Author Topic: Customized bootloader for flash ROM Winbond: W25Q16JLSNIG-T with LPC1833  (Read 5714 times)

sonam chouhan

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Customized bootloader for flash ROM Winbond: W25Q16JLSNIG-T with LPC1833
« Reply #135 on: August 02, 2021, 11:35:54 pm »
Hi, there,

  Our requirement is to design a customized bootloader for external flash programming. We have tried the example code of Flash Magic\Bootloaders\External Memory\LPCxpresso18S37.
But, that does not work. Could you guide us on this requirement? Please see our below concerns.

1. do any flash magic versions have an example code for the LPC1833 external SPI Flash bootloader?

2. What are changes needed in Flash Magic\Bootloaders\External Memory\LPCxpresso18S37 that can help us?

3. We have changed the descriptor content in FlashPrg.c file as per the LPC1833 memory map, but that also does not work. We got the error as "Bootloader is not executing in RAM".

4. Please find the attachment and help us to provide some details about the requirement.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Customized bootloader for flash ROM Winbond: W25Q16JLSNIG-T with LPC1833
« Reply #136 on: August 03, 2021, 10:56:30 am »
You will need to run your custom bootloader in a debugger, e.g. Keil uVision, to see where it is getting stuck. The error means that Flash Magic is not getting a response.

The example booloader for the LPC4337 uses external SPIFI and that part is the same as the LPC1887 for this purpose, so should be a close enough starting point.

We can also develop this for you as a consulting project - please email us if you want to go down that route.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com