- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey all
each time that I load my program press run and stop it within the debugger. the Disassembler shows that I am currently located in a different location (0x000008FC) where my code is located at 0x02000000 seems that this location is of an interrupt handler. wrote this code at the start of the main while(1) { __asm("NOP"); } check with the debugger that I enter the loop let it run stop the the processor and then I find myself at the region once again *I disabled all interrupts with altera_int_global_dis_all() functionLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On start all peripheral interrupts is disabled (pins IRQ and FIQ of proc masked), and all serious exceptions as Bad Command or Bad Address Of Read is impossible to ban.
I also often see address 0x000008FC 2 month back, while suspect of role .ds-files in DS-5 terrible debugging process ! :) Preloder code must be runned necessarily with strange dancing of commands ! :) Pitifully that in ug_soc_eds.pdf is no introduction in these .ds-scripts. Best way to fast write our program -- use working in board original Altera example as "Hello World" with our gradual remaking. Then touch gradually debug settings in "Run/Debug Configurations..." and see to shifts... And if you want anyway "smash" current program in CV -- zip current project folder and upload here, only with exported your Debug Configuration ".launch". For this need come to menu File/Export..., there select Run/Debug+Launch Configurations, press Next>, and checkbox your program in "DS-5 Debugger", select program folder in "Location:" in order to get current .launch from/for DS-5 settings.
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