Forum Discussion
Hi,
Sure. I followed the DK-DEV-AGI027-RA dev kit documentation and only changed the configuration scheme, SmartVID (PMBus) related settings, and the clock/reset pin constraints when porting the Nios V Hello design.
I am attaching screenshots of:
- Device and Pin Options - Configuration
- Configuration Pin Options
- Device and Pin Options - Power Management and VID
1) Device and Pin Options settings
| Section | Setting | Value |
|---|---|---|
| Configuration | Configuration scheme | AVST x8 |
| Configuration | VID mode of operation | PMBus Master |
| Configuration Pin Options | USE PWRMGT_SCL output | Enabled, SDM_IO0 |
| Configuration Pin Options | USE PWRMGT_SDA output | Enabled, SDM_IO12 |
| Configuration Pin Options | USE CONF_DONE output | Enabled, SDM_IO16 |
| Configuration Pin Options | Other pins (PWRMGT_ALERT, INIT_DONE, etc.) | Not enabled |
| Power Management and VID | Bus speed mode | 100 KHz |
| Power Management and VID | Slave device type | Other |
| Power Management and VID | Number of slave devices | 1 |
| Power Management and VID | PMBus device 0 slave address | 47 |
| Power Management and VID | Enable PAGE command | Off (unchecked) |
2) Clock and reset constraints used
# Reset
set_location_assignment PIN_D36 -to reset_reset_n
set_instance_assignment -name IO_STANDARD "1.2-V" -to reset_reset_n
# Clock (differential)
set_location_assignment PIN_N45 -to clk_clk
set_location_assignment PIN_L46 -to clk_clk(n)
set_instance_assignment -name IO_STANDARD "True Differential Signaling" -to clk_clk
These settings allowed the design to program successfully and print the "Hello" message once. After that first run, JTAG Auto Detect started failing with the UNKNOWN devices and the same JTAG chain error messages as previously posted.
Thanks.
Hi
I think it would be interesting to see what happens if the SDM I2C controller is disabled. The SDM controller is responsible for the SmartVID function and the JTAG chain.
Set SW4 [1:4] to OFF/OFF/ON/OFF, where OFF is open and ON is closed. (Table 4 of the Development Kit User Guide)
Thanks