Search Results
Search results 1-6 of 6.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
SWO working!
PostI am able to get solid data out of the SWO port. The key for me was having the IAR tool setup correctly. One thing I noticed is that if you don't have the CPU speed set correctly, you get no data. With other serial ports, I've always observed corrupted data, letting me know data is flowing. With IAR, you get nothing out if the CPU speed is not set correctly.
-
I also have an STM32F429I whose SWO output I am unable to use. My initial thoughts were that I had a setup issue, but now I'm not sure. Did you have to write code to setup either the ITM, or the TPIU? After watching a video from IAR, it seemed like I shouldn't have to, just configure the tool correctly, but that seems too easy...
-
I have a Jtrace, version V3.2 that I'm running with IAR V7.01. I"m getting a call to the HardFault_Handler, immediately after a call to JLINKMEM_SendChar. See the attached image of the disassembly window from IAR. Is it the call thats causing the fault, or is it that the value popped off the stack is supposed to be the address to the SendChar routine, and its not?
-
When I start the debugger, EWARM appears to attempt to acquire Jtrace, but seems to get hung up. I have also run JLink.exe, and it seems to hang up as well. The only lines I get from JLink are Segger J-Link Commander V4.84a ('?' for help) Compiled Apr 4 2014 18:02:34 Is this a USB problem? It was USB related, the root hub seemed to have suspended the port since the JLink was not talking to the target.
-
OS crash
robiwan - - embOS related
PostI am getting a message that my OS task ends unexpectedly. I'm looking for some insight as to what typically causes these types of errors. I have looked at the stack to see if have consumed more RAM than allocated, EWARM does not indicate a problem there. I have tried commenting out the tasks I have created, and it still crashes. I have also tried commenting out all the startup code, but OS_IncDI(); /* Initially disable interrupts */ OS_InitKern(); /* Initialize OS */ OS_InitHW(); /* Initialize H…