This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to load bootloader(using debugger) in ARM7 based target?

Hello, I built bootloader for NXP LPC2468FBD208. Following files were generated:

NXP2468_BootLoader.axf
NXP2468_BootLoader.hex

I'm using Keil tools. I have ULINK2 debugger connected from PC(USB) to target board.

Which above file do I load in the target using the debugger? How do I know where in memory
will bootloader reside? How do I load the bootloader into the target?

Thank you!

Parents
  • Yes, it see's Unspecified(Keil ULINK2 CMSIS-DAP) in Device Manager. I don't have any drivers. ULINK2 was detected by the PC. Am I suppose to get current drivers from Keil and install them? THis is a real Keil ULINK2. I am new to this environment. How can I make sure the Debug tab is configured correctly? How can I tell if debug tab is seeing my target or not?
    I checked the orientation of the connector. I connected pin with a arrow on the connector pin 1. I am running into different problem right now. I modified options for target in Keil micro Vision 4 and now I can't even built my application, which is bootloader. I want to undo checkout this project so I can get target options I had earlier. The software versioning system we are using is TFS. I don't know anything about TFS. How can I undo checkout my Keil Project?

Reply
  • Yes, it see's Unspecified(Keil ULINK2 CMSIS-DAP) in Device Manager. I don't have any drivers. ULINK2 was detected by the PC. Am I suppose to get current drivers from Keil and install them? THis is a real Keil ULINK2. I am new to this environment. How can I make sure the Debug tab is configured correctly? How can I tell if debug tab is seeing my target or not?
    I checked the orientation of the connector. I connected pin with a arrow on the connector pin 1. I am running into different problem right now. I modified options for target in Keil micro Vision 4 and now I can't even built my application, which is bootloader. I want to undo checkout this project so I can get target options I had earlier. The software versioning system we are using is TFS. I don't know anything about TFS. How can I undo checkout my Keil Project?

Children
  • OK. Now, again I can build the bootloader. From micro Vision4, I went to Flash - Download. It tried to load .axf file but following are the messages from the Build Output:

    No algorithm found for 00000000H - 00000D6FH
    (This messages repeats for other address ranges)
    Erase Skipped!

    Please advise!

  • Perhaps you should communicate with your colleagues/boss about your assorted issues.

    There should be drivers and utilities for the ULINK in the \Keil\ARM\ULINK and \Keil\ARM\ULINK\Utilities directories.

    If you used UV4.70 it should have updated the firmware, although this will not be backward compatible with older releases of UV. See release notes.

    Go to the options for the project, select the "Debug" tab, select "CMSIS-DAP Debugger", click "Settings". Another child window will come up. This should provide details of the ULINK, serial number, connection method, along with a device view showing what can be found on the SWD/JTAG chain.

  • In the aforementioned child window with the debugger/target settings, the flash algorithm can be located under the "Flash Download" tab. You must select a flash algorithm than matches the device make/model you are using.

  • My colleague was able to help me out. We had the incorrect options file, filename.uvopt.

    Thank you!