gmpack: reset config latches before bootaddr jump
This commit is contained in:
parent
ac547baf3b
commit
8d1018796d
|
|
@ -91,7 +91,7 @@ each bit of one byte payload is used to set one of 4 columns.
|
|||
|
||||
CMD_CFGRST
|
||||
-----------
|
||||
Resets all configuration latches to value of a byte from payload.
|
||||
Resets all configuration latches to value of a byte from payload, except active SPI controller and configuration PLL.
|
||||
|
||||
CMD_ACLCU
|
||||
----------
|
||||
|
|
|
|||
|
|
@ -1100,6 +1100,7 @@ Bitstream Bitstream::serialise_chip(const Chip &chip, const std::map<std::string
|
|||
if (d == 0) {
|
||||
if (options.count("bootaddr") && !options.count("background")) {
|
||||
uint32_t bootaddr = std::strtoul(options.at("bootaddr").c_str(), nullptr, 0);
|
||||
wr.write_cmd_cfgrst(0x00);
|
||||
wr.write_cmd_jump(bootaddr);
|
||||
}
|
||||
if (options.count("background") && !options.count("bootaddr")) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue