Remora - ethernet NVEM / EC300 / EC500 cnc board

More
4 years 6 months ago #240760 by scotta

The moment it tries to write it restarts it seems.
In stm32cubeprogrammer you could save the memory from the device, maybe I could upload yours with the config included?

Code:
tftp receive call back reached tftp write process reached Remora-NVEM starting ## Entering SETUP state 1. Loading JSON configuration file from Flash memory Flash storage location is empty - no config file 2. Parsing JSON configuration file Config deserialisation - Deserialization failed Creating thread 40000 Creating thread 1000 4. Loading modules Creating a std module Creating an Ethernet communication monitoring module ## Entering START state Starting the BASE thread Registering interrupt for interrupt number = 25         power on Timer 1         timer started Starting the SERVO thread Registering interrupt for interrupt number = 28         power on Timer 2         timer started ## Entering IDLE state  
Ok, so the TFTP is failing somewhere as the write request callback is not being triggered for some reason. Could you please try the attached bin which has more debug info output.
Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #240761 by scotta

I'm still getting following errors btw at whatever settings I choose. Disabled the joints 3,4 and 5 and nvmpg in the config, should that make a difference? Could it be the buffer being too big or memory issues? Fortunately I could still use the lpt port, so no high prio for me
Hi Roy, can you please share all of your config files and I will run your config to see if I can help resolve the following errors for you.

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #240762 by royka
Code:
## Entering IDLE state tftp receive call back reached tftp write process reached  wrq receive callback registered Remora-NVEM starting ## Entering SETUP state 1. Loading JSON configuration file from Flash memory Flash storage location is empty - no config file

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #240763 by scotta
Hmm, the next step in the code is to erase the flash. Some more debug code added to the bin file.
Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #240764 by royka
Thank you, it would be nice if you find something.
Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #240765 by royka

Hmm, the next step in the code is to erase the flash. Some more debug code added to the bin file.
 
Could it be something with the register or control bits?
www.st.com/resource/en/programming_manua...microelectronics.pdf
Code:
## Entering IDLE state tftp receive call back reached tftp write process reached  wrq receive callback registered  Flash unlocked  About to erase Flash Remora-NVEM starting ## Entering SETUP state

Please Log in or Create an account to join the conversation.

Time to create page: 0.552 seconds
Powered by Kunena Forum