- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I need some help with triggering an application restart from bootloader. In my system I have an on-chip RAM (where bootloader resides) and an SRAM where application will be running. The reset vector is located in the onchip RAM. If I jump to the reset vector location, the Nios reboots but starts from the application and does not execute the bootloader. How can I force the execution of the bootloader? Thanks!Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
For this use case, the boot copier used should be CFI based boot copier. The application should located just after the CFI based boot copier. Wonder is this the boot copier you used or your custom boot copier? Chin Liang- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I had this issue abandoned for a while, not it's buzzing me again. What is the explanation why the custom bootloader would not execute (reload the application from flash) after a reset although reset vector is located in the same onchipram where the custom bootloader resides? Thanks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Altera named our boot-stages as BootROM, Preloader, U-boot or RTOS or Baremetal on 3th stage.
What you mean by "custom bootloader" ? And why mentioned Nios ? Usually 64K of onchip RAM is visible from 0 adress also, although he located on FFFF0000. However, some time I see BootROM on 0th disassembly and steped to it in DS-5 -- remapping may be used. If fill Custom Preloader with "while (1) ;" to flash and repower board, may connect to this endless cycle and continue running through changing PC... If application calls pure function pointer, then will be reboot of system. If to 0 mapped BootROM, will be full reboot.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page