well, the addressing is done in the linker script, so i guess i only need to find away to associate declared registers in the linker, with each bitfield.
Type: Posts; User: mshearer123
well, the addressing is done in the linker script, so i guess i only need to find away to associate declared registers in the linker, with each bitfield.
i guess i can go to the data sheet and map each register myself to its adress? and use a bitfield for bits within the registers.
something like
#define CNEN1 0x0060
typedef struct...
Hi,
I would like to make my current project MISRA compliant.
the project is two parts, one blackfine DSP and the other PIC24, both written in C.
The blackfin is now MISRA compliant, but I have...
ah sorry think i've got it.
I just need to make sure i cast values to match that declared for each register.
declared as
#define pSPI_FLG (volatile unsigned short *)SPI_FLG
Hi,
My code for running a blackfin DSP uses pointers to registers to set specific register values. (Found in a compiler include file -> cdefBF561.h)
i.e.
well we're hoping to get as close to MISRA with future projects as possible.
This project requires run-time loading and execution of software functions from flash, so yeah, I doubt I could ever...
i believe the double ";" on the same line is the issue.
I am using nops to reserve a large chunk of instruction memory. I think instead i'll have to do this through the linker and remove my need...
apologies,
I should have said i was working on VDSP5+ on a blackfin processor (bf561)
doesn't appear to no
syntax error is at or near text '.LN1'.
Attempting error recovery by ignoring text until the ';'
Previous errors prevent assembly
Hi,
Does anyone know the MISRA way to call a NOP?
asm("NOP;");
will produce the MISRA error:
A null statements shall only occur on a line by itself, and shall not have any other text on...
thanks,
yeah thats the processor.
I'll work through your advice tomorrow
I believe i will eventually have to turn the algorithms into relocatedable object files, then figure out how to execute...
Hi,
I'll explain what my overall objective is first..
I would like to be able to store small functions/algorithms in external flash of a BF561 processor. I will then copy these functions into...