- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm currently trying to run code I had previously run on the OCRAM onto the SDRAM. I was using the Bare Metal User Guide(https://www.altera.com/documentation/lro1424280108409.html) to do this, but found that changing the scatter file and using the preloader didn't help. I have tried adjusting the settings in the bsp-editor when creating my preloader but haven't had any luck so far. I am using the DS-5 compiler. The error I'm given is like this, which according to the tutorial is appearing because there is no preloader:ERROR(CMD16-TAD274-NAL22): ! Failed to load "bare metal-hello-world-01.axf"
! Failed to write 4,896 bytes to address S:0x02000000 while writing block of 4,096 bytes to address S:0x02000000
! General error on memory or register access.
I am using this as my scatter file: SDRAM 0x02000000 0x02000000 ; 32M SDRAM
{
APP_CODE + 0
{
* (+ RO , + RW , + ZI )
}
ARM_LIB_STACKHEAP 0x03000000 EMPTY 0x0x01000000 ; Application heap and stack
{ }
}
I'd appreciate any direction anyone could provide, including messing with any other settings available for this.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I feel your pain! Just found your question while searching for "! General error on memory or register access." .... I have the same issue. I have the feeling that my preloader is not working correctly or is not being loaded by bootROM correctly for some reason ..... but I'm in the dark. Zero support from Alter/Intel........ the docs and examples are good - in perfect world when stuff just works... if they don't .... there's very little way to find out what'sup.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same problem I am facing, and I have tried by doing lots and lots of alterations but it doesn't work. The Intel Guys are non-responsive. This is just one example. There are few places where when one when get stucks, no one is there to answer/solve the query.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page