br101 / zephyr-dw3000-examples

DW3000 Examples
19 stars 10 forks source link

Illegal use of the EPSR #5

Closed schmidvon closed 1 year ago

schmidvon commented 1 year ago

Hello, I have the DWM3001CDK. When I try to run your Example i get the following Output:

E: Booting Zephyr OS build v3.0.99-ncs1 DW3000 Examples on minew_ms151f7 I: RESET on GPIO_1 pin 8 I: DW3000 on DW3000 (max 32MHz) READ DEV ID
E: USAGE FAULT E: Illegal use of the EPSR E: r0/a1: 0 Booting Zephyr OS build v3.0.99-ncs1

I hope you can help me

schmidvon commented 1 year ago

Booting Zephyr OS build v3.0.99-ncs1 DW3000 Examples on minew_ms151f7 [00:00:00.250,549] dw3000: RESET on GPIO_1 pin 9 [00:00:00.250,549] dw3000: DW3000 on DW3000 (max 32MHz) SIMPLE RX v1.0 [00:00:00.259,094] os: BUS FAULT [00:00:00.259,124] os: Instruction bus error [00:00:00.259,124] os: r0/a1: 0x20000fd0 r1/a2: 0x00000058 r2/a3: 0x00000000 [00:00:00.259,155] os: r3/a4: 0x200017a7 r12/ip: 0x00000000 r14/lr: 0x00006c2b [00:00:00.259,155] os: xpsr: 0x21000000 [00:00:00.259,155] os: Faulting instruction address (r15/pc): 0x03dbf32a [00:00:00.259,185] os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 [00:00:00.259,216] os: Current thread: 0x20000778 (main) [00:00:00.485,687] fatal_error: Resetting system

br101 commented 1 year ago

Not sure if thats the reason for your exception, but do you really have this board: minew_ms151f7?

schmidvon commented 1 year ago

I thought this is an alias for the DWM3001CDK since i could not find anything about it. I have the DWM3001CDK.

br101 commented 1 year ago

The DWM3001CDK board definiton would have to be added in boards/

schmidvon commented 1 year ago

Okay, i will try to do that. Thank you