Hi all,
how I run debug on maple? I try but nothing arrived.
thx
Hi all,
how I run debug on maple? I try but nothing arrived.
thx
What, exactly, are you doing?
What code is running to do a printf over SWD?
What SWD debugger are you using? Maple doesn't include any form of hardware debugger.
What software are you using to talk to the SWD debugger ?
Buy NUCLEO and debug w/o problem
I want debug through SWD for eg. printf("person_copy: %s, %d \n", person_copy.name, person_copy.age ); SWD Debugger is STLINK/V2. ednableDebug(); enableDebugPorts();
// Now you can debug using JTAG and SW-Debug
Very thx
What code is running to do a printf over SWD? yes
What SWD debugger are you using? STLINK/V2
What software are you using to talk to the SWD debugger ? STM32 ST-LINK Utility_v3.1.0
Thx
As far as I know, there is no capability to do this in the current version of libmaple
You would be better off getting a separate USB to serial adaptor and using that for debugging.
Also like x893 says, the Nucleo boards have this built in - But I don't think they are good value
I'm not even sure why you would want to use STLINK, as the IDE doesnt have any debugging tools that work with STLink - or are you using GDB and texane/stlink ?
You may get more responses if you post to http://forum.arduino.cc/index.php?topic=265904.0 as its a more active thread
@rogerclark - "the Nucleo boards have this built in - But I don't think they are good value"
The Nucleo boards are less than 10 Euro's, which seems like extremely good value, e.g.
http://uk.mouser.com/Search/Refine.aspx?Keyword=nucleo
I find it hard to obtain parts for my Orone-mini's for that price, and it doesn't have USB hardware debug.
What would you identify as good value for an STM32F development board and USB Hardware debug?
@gbulmer
Unfortunately I live on the other side of the plant (literally) and its not possible for me to get boards as cheaply as they are in Europe.
By the time I pay the hidden exchange rate conversion and the postage the cost is not competitive.
But I agree the Nucleo board is not bad value for 10 Euro's, but the $4 mini maple clone on Aliexpress (including carriage) is much more cost effective for me
You must log in to post.