Debug.Print equivalent for SWIM/ST-Link
#1
Posted 29 May 2012 - 03:45 PM
Windows Phone Development MVP
President Software Logistics, LLC
Tampa, FL
#2
Posted 29 May 2012 - 04:16 PM
#3
Posted 30 May 2012 - 11:33 AM
I don't think this is possible
Thanks CW2 - that's what I sort-of figured.
Windows Phone Development MVP
President Software Logistics, LLC
Tampa, FL
#4
Posted 30 May 2012 - 07:50 PM
NETMF debugging spoils us all!
A few ideas for STM8S:
- Change the state of LED(s) (on/off/dim/# of blinks) to indicate current state
- Use a serial port on the STM8S to output text to a terminal program on a PC (using a USB-TTL serial cable)
- Write debug data into an in-memory location and use SWIM to look at the in-memory data
I'd recommend morse code--there's even a morse code to text interpreter on the Projects page--but that might be a big slow.
Chris
#5
Posted 30 May 2012 - 08:44 PM
Hi ByteMaster,
NETMF debugging spoils us all!
A few ideas for STM8S:
- Change the state of LED(s) (on/off/dim/# of blinks) to indicate current state
- Use a serial port on the STM8S to output text to a terminal program on a PC (using a USB-TTL serial cable)
- Write debug data into an in-memory location and use SWIM to look at the in-memory data
I'd recommend morse code--there's even a morse code to text interpreter on the Projects page--but that might be a big slow.
Chris
Just need a netduino to interpret it, should be able to up the speed a bit. Although I suspect that a UART might just be easier and more reliable.
When you talk EE use small words, I'm just a Software Developer
My Blog/Site and Everything Else
If my post helped you please consider pressing the "Like This" button in the bottom right-hand corner.
Oh my. So many things, so little money!!
#6
Posted 30 May 2012 - 09:08 PM
I'd recommend morse code--there's even a morse code to text interpreter on the Projects page--but that might be a big slow.
Hmmm...sounds like a very interesting project! Must...resist...too many tangents already coming out of my primary effort
Something I might tinker with...I created some common libraries for handling the GO!/Module communication w/ IRQ & SPI. I have a range of messages for system type calls. I think I'll add one with the following exchange:
MODULE->GO : I got something for you!
GO->MODULE : Ok, what is it now?
MODULE->GO : It's a message type XX, and a bunch of characters, will you please send them to your Debug Console?
Obviously this isn't performance happy, but should get the job done and shouldn't be too bad in small doses.
Kevin...
Windows Phone Development MVP
President Software Logistics, LLC
Tampa, FL
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users