2011-07-08 02:46 AM
I am using
Micro controller: STM32F103RCT6TR IDE: IAR Embedded workbench Debugger: J-Link ARM When I burn it I am getting this error TotalIRLen = ?, IRPrint = 0x..000000000000000000000011 Fatal error: Failed to read CPUID for Cortex device Session aborted! Can anyone help me? Thank you,2011-07-08 04:27 AM
did you set the proper device as the target at
Projects/options/general options/ target in IAR project workspace.2011-07-08 06:16 AM
Is this on a board you created, or a commercial eval board?
Check the wiring, and connection, of the JTAG port. Check if you want to use SWD vs JTAG signalling. Check you have current drivers and firmware from SEGGER.2011-07-08 09:19 AM
which version IAR are you using???
2011-07-10 09:39 PM
did you set the proper device as the target at? For this Micro controller: STM32F103RCT6TR I am using ST STM32F10xxC as my target
which version IAR are you using??? IAR 6.20, J-Link 4.28
2011-07-10 09:52 PM
I get this error
Fatal error: Wrong AHB ID (15:3). Expected 0x04770001 (Mask 0x0FFFFF0F), Found 0x92400000 Session aborted! When it asks do u want to continue, if i say yes, this error pops up Fatal error: Failed to read CPUID for Cortex device Session aborted!2011-07-10 11:44 PM
Is this on a board you created, or a commercial eval board?
this is the board created not a commercial eval board, I also have a commercial board on which it is working perfect.Check the wiring, and connection, of the JTAG port?Wiring and connection are proper.Check if you want to use SWD vs JTAG signalling. I wanted JTAG, but both are not working Check you have current drivers and firmware from SEGGER.
As it is working on the eval board properly, I feel drivers are installed properly.
2011-07-11 12:36 AM
did you copy intrinsics.h at
C:\Program Files\IAR Systems\Embedded Workbench 6.0\arm\inc\c
if not find here attachde the file and copy it to the path above. ________________ Attachments : intrinsics.h : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I1EC&d=%2Fa%2F0X0000000bk9%2FViVMTNDLjIXBU453RJUQkl1Y0Zi3Z_.btCSQD32eczk&asPdf=false2011-07-11 01:20 AM
I have included this header files
#include <assert.h> #include <math.h> #include <stdio.h> #include <string.h> #include <ctype.h> #include <stdlib.h> #include <string.h> #include <intrinsics.h> #include ''stm32f10x.h'' #include ''arm_comm.h''2011-07-11 01:21 AM
Add my test program is this
int main() { unsigned short int a=5; while(1) { a++; a--; } //return 0; }