Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[ARM] Attemp to run Cortex-M1

Status
Not open for further replies.

Navrys

Newbie level 1
Joined
Apr 28, 2016
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
13
Hi,

I'm trying to run my first code on ARM Cortex-M1 soft processor. It is quite complicated process for me and there are many steps where I could make some mistake. But now I have:
1) VHDL project and bitstream loaded into ProASIC3L FPGA,
2) simple C program to turn on one LED connected to GPIO output.

But when I try to run it in Debug configuration in SoftConsole IDE I get:
Code:
source .gdbinit
set arm fallback-mode thumb
target remote | "C:/Program Files (x86)/Microsemi/SoftConsole v3.4/Eclipse//../Sourcery-G++/bin/arm-none-eabi-sprite" flashpro:?cpu=Cortex-M1 "F:/Workspace/libero/cortexm1_1/SoftConsole/cortex_m1_system_CortexM1Top_0/cortex_m1_system_CortexM1Top_0_app/Debug"
arm-none-eabi-sprite: Using memory map F:/Workspace/libero/cortexm1_1/SoftConsole/cortex_m1_system_CortexM1Top_0/cortex_m1_system_CortexM1Top_0_app/Debug/memory-map.xml
arm-none-eabi-sprite: Target reset
0x00000080 in frame_dummy ()
set mem inaccessible-by-default off
load
Loading section .text, size 0x378 lma 0x0
Loading section .data, size 0x4 lma 0x378
Start address 0xc8, load size 892
Transfer rate: 19 KB/sec, 446 bytes/write.
monitor debug-reset
thb main
Hardware assisted breakpoint 1 at 0x96: file ../main.c, line 16.
cont

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00000000 in vector_table ()

Could you help me to figure out where I'm doing a mistake? I could upload full project, but maybe it is better to go step by step starting from the informations presented above. Does it give any clue?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top