32 MB SDRAM
BOOT MODE: Boot from EEPROM/FLASH
I am getting errors:
Core fault detected before halt at address: 0xEF000006. Attempting to reset processor.Error writing user opcode for breakpoint remove at address: 0x0093d6.
Core fault detected before halt at address: 0xFFA00732. Attempting to reset processor.
Core fault detected before halt at address: 0x00005682. Attempting to reset processor.
Core fault detected before halt at address: 0xEF00000A. Attempting to reset processor.
Hault during boot. Disassembly window:
ffa00144: EMUEXCPT ;ffa00146: JUMP.S -2 /*0xFFA00144*/ ;ffa00148: [ -- SP ] = P0 ;ffa0014a: [ -- SP ] = P1 ;ffa0014c: [ -- SP ] = P2 ;ffa0014e: [ -- SP ] = R0 ;ffa00150: [ -- SP ] = R1 ;ffa00152: [ -- SP ] = R2 ;ffa00154: [ -- SP ] = RETS ;ffa00156: [ -- SP ] = ASTAT ;ffa00158: CC = R0 == R0 ;
What the *&^@# is wrong with the BF537?
Hi Bruce,Apologies for the delay. While looking into your query, it seems that you are able to flash the application in your custom board, but it is not booting as expected. Please let me know if my understanding is wrong.Since you are using SDRAM in your application, please confirm whether you have configured the SDRAM and PLL sections in the init_code as per the SDRAM part? If you have configured the init_code, you have to add that in Initialization file field in the CCES while generating the loader file(.ldr). Or else please modify the below Initialization file according to your configuration.Please note that the Initialization code examples available in the installation path is for EZ-Kit boards. However, you should be able to modify these without any problems for your specific board.You can find the source code for the initialization code examples within CCES "<Installation path>\Analog Devices\CrossCore Embedded Studio 2.8.2\Blackfin\ldr\init_code\BF537_init\ezkitBF537_initcode"Also, please make sure that the Power-Up Reset Timing(Page No: 30 / 68) and Clock and Reset Timing(Page No: 30 / 68) specifications are mentioned in the datasheet is followed. It would be good if you can share us the screen capture after probing.It would be good if you can cross verify the 'Hardware Design Checklist for the Blackfin Processors' application note (EE-281) given in the following link to verify your custom board in term of hardware aspects.www.analog.com/.../EE-281.pdfRegards,Lalitha.S
I got my app to work.
There were 2 problems.
The other odd thing is that resetting the DSP did not get it to run the app.
It ran only after power cycling the board. I guess the debugger was messing with the DSP.
The project was hanging because a bug in CrossCore was building the app without the -DCORE0.
Hi Bruce,Glad to know that the issue got resolved and thanks for the update. Regards,Lalitha.S