Search:

Type: Posts; User: mshearer123

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,418

    well, the addressing is done in the linker...

    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.
  2. Replies
    2
    Views
    1,418

    i guess i can go to the data sheet and map each...

    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...
  3. Replies
    2
    Views
    1,418

    target header files with MISRA

    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...
  4. Replies
    3
    Views
    2,193

    ah sorry think i've got it. I just need to...

    ah sorry think i've got it.

    I just need to make sure i cast values to match that declared for each register.
  5. Replies
    3
    Views
    2,193

    declared as #define pSPI_FLG (volatile...

    declared as


    #define pSPI_FLG (volatile unsigned short *)SPI_FLG
  6. Replies
    3
    Views
    2,193

    MISRA Rule 10.1 (blackfin 561 code)

    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.
  7. Replies
    8
    Views
    4,606

    well we're hoping to get as close to MISRA with...

    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...
  8. Replies
    8
    Views
    4,606

    i believe the double ";" on the same line is the...

    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...
  9. Replies
    8
    Views
    4,606

    apologies, I should have said i was working on...

    apologies,
    I should have said i was working on VDSP5+ on a blackfin processor (bf561)
  10. Replies
    8
    Views
    4,606

    doesn't appear to no syntax error is at or...

    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
  11. Replies
    8
    Views
    4,606

    MISRA rule 54

    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...
  12. thanks, yeah thats the processor. I'll work...

    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...
  13. Running Function from specific memory location

    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...
Results 1 to 13 of 13