sami_aldalahmeh
Newbie level 3
- Joined
- Feb 22, 2011
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,327
Hi,
I am facing a strange error that I cannot figure out. First of all I am using the Smartfusion EVAL KIT to learn embedded desing (both micro-controller & FPGA). There is a great course posted online here
https://web.eecs.umich.edu/~prabal/teaching/eecs373-f10/#resources
Now I reached lab 4 and doing the post lab assignment, which want us to design a counter that toggles a LED when it reaches its max value. Of course it can be done without the arm processor but the point of this lab is to learn about interrupts. So the idea is to have the counter as a peripheral that interrupts the arm when the counter expires, then the arm using the interrupt routine will toggle the LED. Any peripheral is connected to the arm via a bus called APB3 (advanced peripheral bus). So what I have done is to connect my counter to this bus. The counter has a control register that has the counter value, start, and a stop bits. The idea is to have the arm configure the counter by writing to this register.
My problem is that after designing the hardware (and successfully simulating it as well) and writing the C code for the arm (successfully compiles) I cannot debug it. In fact I cannot connect to the kit. When I do I get this error:
arm-none-eabi-sprite: "DapReadRange failed"
Here is my project files
https://www.dropbox.com/sh/9ohe5uogehhk2wm/HIjBabUarz
You can open the Softconsole project by clicking (write applocation code) in the design flow window.
Any ideas guys?
I am facing a strange error that I cannot figure out. First of all I am using the Smartfusion EVAL KIT to learn embedded desing (both micro-controller & FPGA). There is a great course posted online here
https://web.eecs.umich.edu/~prabal/teaching/eecs373-f10/#resources
Now I reached lab 4 and doing the post lab assignment, which want us to design a counter that toggles a LED when it reaches its max value. Of course it can be done without the arm processor but the point of this lab is to learn about interrupts. So the idea is to have the counter as a peripheral that interrupts the arm when the counter expires, then the arm using the interrupt routine will toggle the LED. Any peripheral is connected to the arm via a bus called APB3 (advanced peripheral bus). So what I have done is to connect my counter to this bus. The counter has a control register that has the counter value, start, and a stop bits. The idea is to have the arm configure the counter by writing to this register.
My problem is that after designing the hardware (and successfully simulating it as well) and writing the C code for the arm (successfully compiles) I cannot debug it. In fact I cannot connect to the kit. When I do I get this error:
arm-none-eabi-sprite: "DapReadRange failed"
Here is my project files
https://www.dropbox.com/sh/9ohe5uogehhk2wm/HIjBabUarz
You can open the Softconsole project by clicking (write applocation code) in the design flow window.
Any ideas guys?