2012-08-23 03:37 AM
hello everyone
i am new to cortex-m3 . i use a stm32h103 based board and when i want to load a program to chip , KEIL returns an error that is : ''no cortex-m device found in the jtag chain. please check the jtag cable and the connected device'' and in the message box it said : ''JLink Info: Could not measure total IR len. TDO is constant high. **JLink Warning: No matching core found. Selecting default core (ARM7). * JLink Info: Could not measure total IR len. TDO is constant high. ***JLink Error: Could not find supported CPU core on JTAG chain'' can anyone help me to find the trouble?2012-08-23 05:50 AM
Perhaps you have the wiring wrong, or the chip is not properly powered?
Use SWD vs JTAG. Use the JLink.exe tool directly. Provide the exact board name for a commercial one, or a schematic for a custom one. Not much to go on here.2012-08-23 08:00 AM
I, when starting with a new chip, always insist on having a devboard, they are (usually) very cheap.
having a devboard enables a simple determination between ''is it my custom board'' OR ''is it (my use of) the tools'' Erik2012-08-28 12:49 AM
i use jlink.exe but it doesnt give any response.
is there anyway to program the chip by jlink directly?2012-08-28 06:29 AM
does it work with a devboard?
2012-08-28 08:03 AM
is there anyway to program the chip by jlink directly?
Yes, but doing so manually from the J-Link command console is rather involved. You could try the J-Flash ARM application, I believe it supports internal flash on STM32F4 devices. All this of course presupposes you have the JTAG/SWD connection suitably designed on your board. You alternative way to inject initial code would be via the USART1 and the system loader (BOOT0 = 1)2012-08-28 09:56 PM
i have a lpc2378 development board from OLIMEX and JLINK.exe shows that you connect a JLINK by S/N and revision and ... .
i use jlink and my board is based on stm32h103 from OLIMEX. i convert 20pin connector of JTAG to 7pin connector in my board . the JTAG needs TRST , TDI , TDO , TMS , TCK and RST pins in every microcontroller that we want to debug and program it. i use a 7pin connector that is composed of : TRST , TDI , TDO , TMS , TCK , VCC and GND. i remove the RST pin because it is unused in stm32h103 board from OLIMEX. i use 10k ohm resistros to pull up and pull down pins based on OLIMEX board. i use an interface borad to convert 20pin of JTAG to 7pin of my board. i use KEIL for IDE and when i want to debug my board by it , a dialog box appears and displays: ''no cortex-m device found in the jtag chain. please check the jtag cable and the connected device'' and in the below , KEIL displays : ''JLink Info: Could not measure total IR len. TDO is constant high. **JLink Warning: No matching core found. Selecting default core (ARM7). * JLink Info: Could not measure total IR len. TDO is constant high. ***JLink Error: Could not find supported CPU core on JTAG chain'' i put the link below for my docs and pictures2012-08-29 10:53 AM
I'm not a member, just archive and attach it here.
The mostly likely issues would appear to be wiring, or powering of the part.2012-09-02 05:23 AM
hello
my problem is solved. the problem was unconnected VDDA to 3.3v thanx