Getting weird error R4 wifi

I uploaded a sketch that does a bunch of stuff, what it does isn't important. I am just trying to mess around with the iot variables etc and the cloud dashboard. unfortunately, I get this error:

12:43:01.932 -> addr: 20007ee8 data: 00025dcc
12:43:01.932 -> addr: 20007eec data: 0001132f
12:43:01.932 -> addr: 20007ef0 data: 00025dcc
12:43:02.067 -> addr: 20007ef4 data: 000176cb
12:43:02.067 -> addr: 20007ef8 data: 000176c1
12:43:02.067 -> addr: 20007efc data: 00002599
12:43:02.201 -> ====================================
12:43:02.201 -> =================== Registers information ====================
12:43:02.201 -> R0 : 00000000 R1 : 2000483c R2 : 2000490c R3 : 00000000
12:43:02.335 -> R12: 00000001 LR : 0000c3c7 PC : 00000000 PSR: 80000000
12:43:02.467 -> ==============================================================
12:43:02.467 -> Usage fault is caused by attempts to switch to an invalid state (e.g., ARM)
12:43:02.617 -> Show more call stack info by run: addr2line -e "C:\Users\mshaw\AppData\Local\arduino\sketches\D20FC585CBE8E28F7AA05E3FCF48ED51/GameOfLife.ino".elf -a -f 00000000 0000c3c6 00005e42 00004adc 00018cba 00019af6 00019b54 00004ab6 0001a8e8 0001a926 0001132e 000176ca 000176c0

yeah trying to copy something from the IDE 2.x output window is very difficult. That was all I could get. There were a ton more of those addr: lines before this.

The weird thing is I did upload the game of life to it, but since then I have over written the sketch many times.

I have problems updating the firmware with this particular RF4 wifi board, and it doesn't look like I can't connect to the cloud with it.

I am wondering if this board may be defective.

HELP!
Monty

If any sketch uploaded made your boards unresponsive when you try to program it, try these steps:

  1. Restore the USB connectivity firmware on UNO R4 WiFi with espflash
  2. Update the connectivity module firmware on UNO R4 WiFi . This is required to connect to wifi network and the cloud.
  3. Ensure that you use 2.4Ghz wifi with the SSID and Password not too long and does not contain special characters.
  4. Use a simple sketch to test first, like https://app.arduino.cc/templates/cloud-blink

Thanks I got it fixed. I just wanted someone to know that new boards from Arduino need to be updated and it took me 6 tries before it finally was successful. Each time the USB bridge needed to be reflashed.

Monty

1 Like