ErlendWithammerLux commented on issue #127:
URL: https://github.com/apache/mynewt-mcumgr/issues/127#issuecomment-867465147
uart:~$ I: vcom0_pins_routing is ENABLED
I: vcom2_pins_routing is ENABLED
I: led1_pin_routing is ENABLED
I: led2_pin_routing is ENABLED
I: led3_pin_routing is ENABLED
I: led4_pin_routing is ENABLED
I: switch1_pin_routing is ENABLED
I: switch2_pin_routing is ENABLED
I: button1_pin_routing is ENABLED
I: button2_pin_routing is ENABLED
I: nrf_interface_pins_0_2_routing is disabled
I: nrf_interface_pins_3_5_routing is disabled
I: nrf_interface_pins_6_8_routing is disabled
I: Board configured.
*** Booting Zephyr OS build v2.4.99-ncs1 ***
I: Starting bootloader
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Swap type: none
I: Bootloader chainload address offset: 0xc000
I: Jumping to the first image slot*** Booting Zephyr OS build v2.4.99-ncs1
***
Hello 52!
pipe: registered
uart:~$ [00:00:00.001,403] <inf> board_control: vcom0_pins_routing is
ENABLED
art:~$ [00:00:00.001,464] <inf> board_control: vcom2_pins_routing is
ENABLED
uart:~$ [00:00:00.001,464] <inf> board_control: led1_pin_routing is ENABLED
uart:~$ [00:00:00.001,495] <inf> board_control: led2_pin_routing is ENABLED
uart:~$ [00:00:00.001,525] <inf> board_control: led3_pin_routing is ENABLED
uart:~$ [00:00:00.001,556] <inf> board_control: led4_pin_routing is ENABLED
uart:~$ [00:00:00.001,586] <inf> board_control: switch1_pin_routing is
ENABLED
uart:~$ [00:00:00.001,617] <inf> board_control: switch2_pin_routing is
ENABLED
uart:~$ [00:00:00.001,647] <inf> board_control: button1_pin_routing is
ENABLED
uart:~$ [00:00:00.001,647] <inf> board_control: button2_pin_routing is
ENABLED
uart:~$ [00:00:00.001,678] <inf> board_control:
nrf_interface_pins_0_2_routing is ENABLED
uart:~$ [00:00:00.001,708] <inf> board_control:
nrf_interface_pins_3_5_routing is ENABLED
uart:~$ [00:00:00.001,739] <inf> board_control:
nrf_interface_pins_6_8_routing is disabled
uart:~$ [00:00:00.001,770] <inf> board_control: Board configured.
uart:~$ uart:~$ uart:~$ Frags:
Current: = 1,
Last = 0
Recieved header has:
Header.op = 1234
Header.length = 169828
Frags:
Current: = 2,
Last = 1
wrote more data, bytes handled = 80
Frags:
Current: = 3,
Last = 2
wrote more data, bytes handled = 160
Frags:
Current: = 4,
Last = 3
wrote more data, bytes handled = 240
Frags:
Current: = 5,
Last = 4
wrote more data, bytes handled = 320
Frags:
Current: = 6,
Last = 5
wrote more data, bytes handled = 400
Frags:
Current: = 7,
Last = 6
wrote more data, bytes handled = 480
Frags:
Current: = 8,
Last = 7
[00:00:24.023,223] <inf> mcuboot_util: Swap type: none
[00:00:24.024,047] <inf> mcuboot_util: Swap type: none
[00:00:33.739,105] <err> os: ***** BUS FAULT *****
[00:00:33.739,135] <err> os: Imprecise data bus error
[00:00:33.739,135] <err> os: r0/a1: 0x00000001 r1/a2: 0x96f3b83d r2/a3:
0x96f3b83d
[00:00:33.739,166] <err> os: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr:
0x0001939b
[00:00:33.739,196] <err> os: xpsr: 0x61000000
[00:00:33.739,196] <err> os: Faulting instruction address (r15/pc):
0x000193b0
[00:00:33.739,227] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU
0
[00:00:33.739,257] <err> os: Current thread: 0x20000768 (main)
[00:00:33.830,871] <err> fatal_error: Resetting system
I: vcom0_pins_routing is ENABLED
I: vcom2_pins_routing is ENABLED
addr2line -e zephyr.elf -f 0x000193b0
__DMB
MYPC/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h:958
The bus fault happens the first time it tries to write to flash. Previous
data packets are stored in a buffer until 512 bytes are recieved and ready to
be written to flash.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]