2015-02-10 01:08 PM
Hi
I have the Problem: I have ported and tested a uCOSII on stm32f4/discovery(STM32f407VG) evaluation board with out any problem(board Programmed with onBoard STLINK).after that i have tried to program a custom board with STM32f407ZG with Jlink.i have no problem with simple programs but the program that worked on the evaluation Board, when get to the ''enable interrupt processor level'' at the uCOSII resources jump to the 0 address of Memory and THis Warning appeare: warning t-bit of xpsr is 0 but should be 1. changed to 1can anybody please help me what is the problem? I cant Figure out!!thank you #ucos-ii-stm32f4072015-02-10 01:58 PM
I cant Figure out!!
Ok, then start by explaining how your board design differs from the Discovery board? Right now it sounds like you're jumping to a NULL pointer, so is this the SAME code compilation that worked on the DISCO, or not?2015-02-10 11:27 PM
The different is just micropocessor using:
discovery: STM32F407VGmy evaluation Board: STM32F407ZGand yes. This is the same code that worked on DIscovery Board.thank you.2015-02-11 07:07 AM
Clearly something is different. What did you change on your custom designed board? If not the circuit, then the components?
2015-02-11 12:15 PM
Dear clive1
I get deep review on my board by your suggestion and i figured out this different: -on Discovery Board Boot0 & Boot1 is connected to VDD with 10k and to GND with 510ohm Resistor. -On my board two 510 ohm Resistor has not been mounted. I have not Facility to mount it until 2 days. would you think this problem will be solved?I have another question from you?what is the reason for j-link warning that appear?I am very very deeply thank full for your guides!!?2015-02-11 12:23 PM
That would mean BOOT0 and BOOT1 are High, which means the processor attempts to execute from RAM. If your RAM has zero in the first two vectors, or some other junk, the processor could well fault as it tries to execute illegal instructions.
You could short the 510 Ohm resistor position for BOOT0 with a pair of tweezers, or micro-probes, this would force it Low and a reset would run code from FLASH.2015-02-11 12:45 PM
I have to appreciate you very very much.
THank you . my problem Solved.Can I have your Email or Some Other Way to communicate you more directly?BY the way thank you very much.2015-02-11 12:58 PM
Can I have your Email or Some Other Way to communicate you more directly?
The forum works well for my purposes, please review my profile.