Forum Discussion
baseAddress is 0x00000000?
Hi,
The .regmap file describes the register map information of host and agent interfaces. This file complements the .sopcinfo file by providing more detailed register information about the system.
The <baseAddress>0x0000000</baseAddress> you found in .regmap file complements with the for example <name>altera_avalon_pio</name><baseAddress>0x00000000</baseAddress> in .sopcinfo.
I think the baseAddress you're looking for is the one in .sopcinfo for example like below:
<isBridge>false</isBridge>
<moduleName>led_0</moduleName>
<slaveName>s1</slaveName>
<name>led_0.s1</name>
<baseAddress>32</baseAddress>
<span>16</span>
Thanks,
Best Regards,
Sheng
- tommmy3 years ago
New Contributor
I had read these docs before, and i am sure the baseAddress in the generated .regmap file is 0x00000000, the baseAddress should be substituded with real base address of every avalon-mm interface during generating. the .regmap can be used for nios2 software debugging, but if the baseAddress is not right, this file would be useless.
- sstrell3 years ago
Super Contributor
So you're saying that all the components' base addresses in this file are 0x0 even though you've set base addresses in Platform Designer correctly? You should also look in the .sopcinfo file. That's the main file for software build tools. If that file is correct and .regmap is not, that's very strange.
- tommmy3 years ago
New Contributor
yep, the.sopcinfo file is correct, but the generated .regmap file is not.