Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Memory access problem

/****************************************************************************Hi to all, i am working on project in Nios2 9.0 for low level driver for the Nand Flash now currently i integrate Roxbox's fat file system on onfi design but now i get error after mount the volume in fat_mount() function like............................

/**********************

Execution is suspended because of error.

Warning:

Cannot insert breakpoint 0.

Error accessing memory address 0x5f: Unknown error 4294967295.

**********************************/

so please give me some solution for it

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    :rolleyes:

    I resolve above problem by making few chang in code like i added mechanism to free buffer which i use it in fat_mount() function to read sector of the nand flash.

    so guys this type of problem frequently occurs because of memory stack crash whene you use buffer in function and not make it free when no longer it use.