Forum Discussion
Hi Balerion,
Yes, have been using this code with Agilex7 HPS. The WDT, if not sedated will cause a reset. I think it is set to expire after 5 or 10 seconds. I continuously clear the WDT in my code. It is not an efficient method. I'm actually clearing the WDT much more often than every byte transmission.
This is how you clear the WDT:
// reset WDT
REG(ADDR_TIMER_WATCHDOG + 0xC) = 0x76;
I haven't experimented with the interrupts yet, so everything I do is polling based. Even clearing of the WDT is in my inbyte() function.
Good Luck,
Kiebach
- Balerion1 year ago
Occasional Contributor
Hi Kiebach,
Thanks for your response. I will try these codes as soon as I am able to connect to my dev-kit. Currently, I'm facing a problem in Arm DS when I try to create a debug session. I can't even download and debug a simple helloWorld.axf app The debug server is started but it couldn't connect to the device. It says "The target hardware identity couldn't be verified. Please check that the target being connected to is of type Agilex-7 SoC" Have you ever faced anything like this. I am using Arm DS v2023.1.
Best Regards,
Balerion
- Kiebach1 year ago
New Contributor
Yeah the Agilex7 JTAG connection is not working. Any solution that Intel has offered always gets bogged down in build failures due to licensing issues for IPs that are not relevant, like ethernet, for example. So far the HPS is black box with the UART being only window into it...
- Balerion1 year ago
Occasional Contributor
Hi again Kiebach,
Currently, you are able to work bare-metal on Agilex-7 SoC? What kind of board do you have? I am working on a dev-kit. The reason for me to ask this is to understand whether I do something wrong or not. If we are working on the same board, I wonder how you connect, download and debug your code on it.
Thanks,
Balerion