This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

error 65 : access violation at.... LPC2148

Hello,

I hope, that somebody can help me.
I worte a linked list with carm in the µVersion (LPC2148-MCB2140-Board)
Everytime when I start the program the compiler throws the exception

"error 65: access violation at 0x00000050: no 'write' permission"

I read that's because of the pointer of my linked list. The pointers are initialized with NULL. So when I allocate some memory for the pointer, the error is thrown. This is because of the memory allocation in the ROM.

So I tried to solve the error with __ram. I wrote it after the function prototype. But there was no effect.

Do somebody know a solution for my problem?

P.S.: I'm sorry for my english

0