Skip to main content
rpedrds
Associate
July 5, 2006
Question

ST9 bootloader using AN1275 questions

  • July 5, 2006
  • 3 replies
  • 802 views
Posted on July 05, 2006 at 16:16

ST9 bootloader using AN1275 questions

This topic has been closed for replies.

3 replies

scott239955
Associate III
May 17, 2011
Posted on May 17, 2011 at 11:31

Did you ever get something working? I need to do the same and am looking for sample code that works on the F150. I have looked at AN1450, but did not see where it addressed your questions.

kapil
Associate
May 17, 2011
Posted on May 17, 2011 at 11:31

Did you checked AN1450?

rpedrds
rpedrdsAuthor
Associate
May 17, 2011
Posted on May 17, 2011 at 11:31

I am attempting to port the F120 bootloader described in AN1275 to my F150 platform. The call to Unprotect_Memory() does not return properly. That function calls a function in TESTFLASH, a function in FLASH, and a function in RAM. If I put five asm(''nop''); instructions after the Unprotect_Memory() call, subsequent prints to the monitor start working. I can't find what the asm(''calls 230038h'') does (AN1528) and I don't understand why we write NVAPR from FLASH and then write NVWPR from RAM. If anyone has a serial bootloader that works for the F150...