es-ude / ElasticNodeMiddleware

A low overhead system software for the Elastic Node
https://www.uni-due.de/es/adaptivesystems.php
3 stars 4 forks source link

elasticnode_fpgaPowerOff() causes issues on new ENs #48

Closed mokouMonday closed 3 years ago

mokouMonday commented 3 years ago

Sequence elasticnode_fpgaPowerOff(); _delay_ms(4000); elasticnode_fpgaPowerOn(); in main makes the mcu crash (only on new elastic nodes). After elasticnode_fpgaPowerOff() the Fpga can be turned on only after enabling and disabling the xmem interface.

DerDavidos commented 3 years ago

the elasticnode_initFpgaInterface can now be called at start up as shown in the new example main.c