Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Pelion IoT Platform
Activity
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
More
Cancel
Developer Community
IP Products
System
Jump...
Cancel
System
SoC Design forum
Basics: C programming for ARM - AHB transfers
Blogs
Forums
Videos & Files
Help
Jump...
Cancel
New
State
Not Answered
Replies
6 replies
Subscribers
71 subscribers
Views
4243 views
Users
0 members are here
AMBA
Bus Architecture
AHB
Related
Basics: C programming for ARM - AHB transfers
Offline
joewu joewu
over 6 years ago
Note: This was originally posted on 18th September 2007 at
http://forums.arm.com
Hello,
Would someone please help me about the next basic things?
I have programed microcontrollers in the past but now I need to work with ARM processors and need some basic pieces to connect the puzzle.
I wil write a C/C++ code for ARM966 but I don't know what to do in the code to communicate to an AHB peripheral. It should be memory mapped but I don't know at what location and if I need to do the memory initalisation at the start of the code or I can read it from somewhere - I have not been able so far to find a clear document about that.
Also, I expect that is enough for me to write to that location in the memory and to read from it and the compiler 'armcc' will take care of generating AHB transaction data that will go to ARM AHB interface ports. I am right or there are specific C functions for AHB transfers in both directions?
I expect to have a library of the C functions that I can use in the code but also somehow I couldn't find the place where it is explained.
I have been digging over RealView 3.0 (Unix) directories in the search for that and I see several header files (like rt_heap.h, rt_memory.h and so on) but I don't have any single C project example where I can see their usage.
I would really apreciate if someone can give me some examples or point me to a location where I can read about that.
The same questions go for the tightly coupled memory (TCM) - where is it in the memory map and so on.
Any help is appreciated.
Thank you very much,
joewu
Parents
0
Offline
joewu joewu
over 6 years ago
Note: This was originally posted on 20th September 2007 at
http://forums.arm.com
Thank you very much again.
The actual situation is that I need to prepare a draft program version assuming that at some address in the memory there will be later attached an AMBA peripheral (a DRAM controller). I don't have a specific SoC, just know that ARM966E-S will be used to build that SoC. Since I have not worked practically yet with the AMBA bus (coming to that, obviously
) I am trying to model the situation because I must proceed without waiting for anyone around to finish ther job so I can start mine.
Best regards.
Cancel
Up
0
Down
Reply
Accept answer
Cancel
Reply
0
Offline
joewu joewu
over 6 years ago
Note: This was originally posted on 20th September 2007 at
http://forums.arm.com
Thank you very much again.
The actual situation is that I need to prepare a draft program version assuming that at some address in the memory there will be later attached an AMBA peripheral (a DRAM controller). I don't have a specific SoC, just know that ARM966E-S will be used to build that SoC. Since I have not worked practically yet with the AMBA bus (coming to that, obviously
) I am trying to model the situation because I must proceed without waiting for anyone around to finish ther job so I can start mine.
Best regards.
Cancel
Up
0
Down
Reply
Accept answer
Cancel
Children
No data
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Answered
strobe
0
6254
views
3
replies
Latest
27 days ago
by
Christopher Tory
Answered
AXI4-Relationships between the channels
0
1629
views
1
reply
Latest
1 month ago
by
Colin Campbell
Answered
How to assert PSLVERR in APB4 ?
0
1773
views
2
replies
Latest
1 month ago
by
PhanTam
Answered
How AHB Arbiter should handle granting bus masters while performing only a SINGLE transfer?
0
1688
views
1
reply
Latest
1 month ago
by
Colin Campbell
Answered
Should the SPLIT and RETRY response be given only for NONSEQ transfer?
0
2148
views
4
replies
Latest
1 month ago
by
ISHWAR GANIGER
<
>
View all questions in SoC Design forum