2006-06-21 10:35 PM
2006-06-21 07:21 PM
I use RVDEBUG v1.7 and ST-STR710FZ2 connection.
Very strange, couple of months ago, printf() seems fine but currently nothing displayed on StdIO. When I trace the code and find the printf() finially call WriteC(&tempc). In assembly code, it is: ADD r1, r13, #4 MOV r0, #3 SWI 0x123456 r1 points to the chararcter. Code seems good, but nothing on Debuger. I cannot remember what I did in the debuger, seems nothing relate to Semihosting. Could anyone tell me are there any settings for Semihosting in the RVDEBUG? BTW, I can use SWI 0x123456 to open ,close files and write characters to the files. For example: swi_close ; r0 is the handler of the opened file. ldr r1, =swi_3para_addr str r0, [r1] mov r0, #2 swi 0x123456 mov pc, lr