Wireless debugging

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There's already a thread on this topic in AVR forum, but the last post is 5 years old, so I decided to reopen it.

I'm wondering if it's possible to remotely debug an AVR microcontroller. That is, to step through the program, watch variables, etc. I already heard about the possibility to program an AVR over bluetooth or other RF protocols, but not about wireless debugging.

Is there any ready-made solution, or is it still about messing with ethernet WiFi bridges and serial-to-ethernet converters?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

no you cannot wirelessly debug. Wireless programming would be accomplished via a bootloader that was capable of working with a wireless receiver/transceiver. Bootloaders do not enable debugging [in the sense you are referring to with watch variables, single stepping, and breakpoints] To debug with watch variables, single stepping, and break-points you need to use a hardware debug interface like debugWire or jtag, neither of these is directly wireless capable. To make it wireless you would need to some extensive external hardware that makes the wireless link appear as the traditional wired one.

Writing code is like having sex.... make one little mistake, and you're supporting it for life.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You could put a good old fashioned "monitor" into the AVR or even code that just reports and allows inspection of key variables.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:
You could put a good old fashioned "monitor" into the AVR or even code that just reports and allows inspection of key variables.

I'm not quite sure what you mean. If you mean displaying some variable values with kind of printf statement in the code, the problem is, I don't have any display in my design. I can only display the value of boolean expressions with LEDs.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You send them over BT and display on PC.