Flash programming failure for full sized binaries with LPC804

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Flash programming failure for full sized binaries with LPC804

2,064 Views
thillaielayaraj
Contributor II

Hello,

While programming the last page of LPC80x, we encounter issue. Tried both on MCUXpresso and FlashMagic. Attached the screenshots and test binaries used. Any clue on what could go wrong?

Thanks.

Labels (1)
0 Kudos
9 Replies

1,730 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi,

 

Page 510 and page 511 in sector 31 are not available for user code because of the boot block.

 

Please check User Manual in chapter 4.3.5.

 

Have a great day,
Felipe

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

1,730 Views
thillaielayaraj
Contributor II

Hi,

Thanks for the information.

  • We created a test binary of size being 0x7E01, which means not occupying page 510 & 511, but still saw the failure with Flash magic.
  • Could be the drivers attempt to erase the complete sector 31 (which is not possible as per Section  4.5.10)?

Wish you a great day.

0 Kudos

1,730 Views
FelipeGarcia
NXP Employee
NXP Employee

Hello,

- Do you have the same issue in MCUXpresso?

- What erase blocks are you selecting in Flash Magic?

- Could you please show me a snippet of the error your having?

Regards,

Felipe

0 Kudos

1,730 Views
thillaielayaraj
Contributor II

Hi,

Here are the answers to the questions:

- Do you have the same issue in MCUXpresso?

   => No issue with MCUXpresso while programming. But,

  • after programming the attached dummy file (size being 0x7E01) through SWD (MCUXpresso), the device becomes not detectable through ISP (Flash Magic).
  • then if mass erase through SWD is performed, it gets detected via ISP.

- What erase blocks are you selecting in Flash Magic?

   => In Flash Magic, used "Sectors used by file" option

  • there is an option to erase "pages" via the ISP menu, but whenever starting to program the attached test file, I get a pop-up window saying "LPC804M101JHI33 (LPC800) The system cannot find the file specified"

- Could you please show me a snippet of the error your having?

   => attached.

Thanks and regards.

0 Kudos

1,730 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi,

 

Could you please try by installing the latest firmware. Try to follow the below document.

https://community.nxp.com/docs/DOC-335453 

 

I hope it helps!

 

Best regards,

Felipe

0 Kudos

1,730 Views
thillaielayaraj
Contributor II

Hi, it seems the link is unauthorized or does not exist. Kindly let me know. Thanks!

Regards

0 Kudos

1,730 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi,

I updated the link.

Regards,

Felipe

0 Kudos

1,730 Views
thillaielayaraj
Contributor II

Hi, we are using LPC LINK2 Debug probe which is based on LPC4370. In this case, is the information on LPC11U35 still valid?

0 Kudos

1,730 Views
FelipeGarcia
NXP Employee
NXP Employee

Hello,

 

Are you using a custom board?

 

Regards,

Felipe

0 Kudos