Copyright © https://mongoose-os.com

Mongoose OS Forum

frame
ATTENTION! This forum has moved to:

https://community.mongoose-os.com

Do not post any new messages.

Error output with CC3220 and default firmware

ulsoulso Stockholm

After flashing a TI CC3220 Launchpad board using the mos --logtostderr -v 4 ls command, I get the following output:

Using port /dev/cu.usbmodemE0071001
I0301 17:10:14.088148   67908 ourutil.go:19] Using port /dev/cu.usbmodemE0071001
I0301 17:10:14.088282   67908 mgrpc.go:208] Connecting to /dev/cu.usbmodemE0071001 over tSerial
I0301 17:10:14.088303   67908 serial.go:64] Opening /dev/cu.usbmodemE0071001...
I0301 17:10:14.102810   67908 serial.go:74] /dev/cu.usbmodemE0071001 opened: &{0xc42000e6c0 115200}, err: <nil>
I0301 17:10:14.121339   67908 mgrpc.go:349] created a request with id 1282569251204
I0301 17:10:14.121367   67908 mgrpc.go:272] Started recv loop, codec: [streamConnectionCodec to /dev/cu.usbmodemE0071001]
I0301 17:10:14.121448   67908 mgrpc.go:274] recv ...
I0301 17:10:14.121612   67908 serial.go:202]  ...sent frame delimiter.
I0301 17:10:14.321659   67908 stream.go:252] 0 bytes read, err %!q(<nil>), eof? false buffer: []
I0301 17:10:14.321729   67908 stream.go:252] 1020 bytes read, err %!q(<nil>), eof? false buffer: []
I0301 17:10:14.321759   67908 stream.go:152] len 1020 junkLen 1020 frameBegin -1 frameEnd -1 remLen 0 'wQBAssert at /opt/FreeRTOS_SimpleLink_CC3220SF_CCS/FreeRTOS/Source/portable/CCS/ARM_CM3/port.c:351

abort() called


--- Exception 5 (BusFault) ---
  R0:  0x00000123  R1:  0xfafafafa  R2:  0x44000000  R3:  0x2003ff20
  R4:  0x20005728  R5:  0x00000040  R6:  0x00000410  R7:  0x200056b0
  R8:  0x00000001  R9:  0x2000572c  R10: 0xa5a5a5a5  R11: 0xe000ed04
  R12: 0x2003ff74  SP:  0x2003ff98  LR:  0x01042cd3  PC:  0x01046ab8
  PSR: 0x61000015

--- BEGIN CORE DUMP ---
{"arch": "cc3220",
"REGS": {"addr": 537132592, "data": "
IwEAAPr6+voAAABEIP8DIChXACBAAAAAEAQAALBWACABAAAALFcAIKWlpaUE7QDgdP8DIJj/AyDTLAQBuGoEARUAAGEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", "crc32": 2050633444},
"SRAM": {"addr": 536870912, "data": "
AAAEIMmIBAEBAgUBAQIFAQECBQEBAgUBAQIFAQAAAAAAAAAAAAAAAAAAAAAtPQMBAQIFAQAAAADhPAMB+WAEAQECBQHNSgQBEZUEAQECBQEBAgUB8ZMEAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEB' '' ''
I0301 17:10:14.321883   67908 stream.go:252] 1020 bytes read, err %!q(<nil>), eof? false buffer: []
I0301 17:10:14.321917   67908 stream.go:152] len 1020 junkLen 1020 frameBegin -1 frameEnd -1 remLen 0 'AgUB
AQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUB
AQIFAQECBQEBAgUBzUoEAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUB
AQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUB
AQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUB
AQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUB
AQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAc1KBAEBAgUBAQIFAQECBQEBAgUBAQIFAc1KBAEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUB
AQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQ' '' ''
I0301 17:10:14.321971   67908 stream.go:252] 139 bytes read, err %!q(<nil>), eof? false buffer: []
I0301 17:10:14.321920   67908 serial.go:202]  ...sent frame delimiter.
I0301 17:10:14.321991   67908 stream.go:152] len 139 junkLen 139 frameBegin -1 frameEnd -1 remLen 0 'EBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUBAQIFAQECBQEBAgUB
AQIFAQECBQEBAgUBAQI' '' ''
I0301 17:10:14.322246   67908 stream.go:252] 8 bytes read, err %!q(<nil>), eof? false buffer: []
I0301 17:10:14.322263   67908 stream.go:152] len 8 junkLen 8 frameBegin -1 frameEnd -1 remLen 0 'FAQECBQE' '' ''
I0301 17:10:14.323076   67908 stream.go:252] 8 bytes read, err %!q(<nil>), eof? false buffer: []
I0301 17:10:14.323105   67908 stream.go:152] len 8 junkLen 8 frameBegin -1 frameEnd -1 remLen 0 'BAgUBAQI' '' ''
I0301 17:10:14.323811   67908 stream.go:252] 8 bytes read, err %!q(<nil>), eof? false buffer: []
I0301 17:10:14.323848   67908 stream.go:152] len 8 junkLen 8 frameBegin -1 frameEnd -1 remLen 0 'FAQECBQE' '' ''

It doesn't seem right. Anything going on at Cesanta to fix this?

Comments

  • ulsoulso Stockholm

    The steps above should be:

    1. mos flash cc3220
    2. mos --logtostderr -v 4 ls

    Any command I have tried via the serial port, except for mos console, renders the same kind of erraneous output as above.

  • ulsoulso Stockholm

    Actually, even with the mos console command, if I hit any key I get the same error. Seems to be something in the FreeRTOS port.c file.

  • I'm getting the exact same behavior. Brand new cc3220sf on a new Mos install. I tried on both a windows pc and Mac thinking perhaps it was something with my install but got the same results. As soon as a command is issued after flashing I get a core dump with exact logs as above.

  • ulsoulso Stockholm

    Thanks! It seems to work ok now on my boards.

Sign In or Register to comment.