hisun
New Member
Posts: 33
|
Post by hisun on Nov 23, 2018 14:19:21 GMT
Hello,
the bootloader does only support only W5100 chip, therefore the program got stuck in the EnterBootLoader(); function.
Could you please modify the bootloader source code that it will work with W5500 chip?
Or provide the source files for the bootloader? Because I only found the header files net.h, Bootloader.h, BootloaderDebug.h, w5100_reg.h and source file net.cpp. I think there should at least be a Bootloader.cpp, but this file is not included in your ShieldBuddy Add-In package.
thank you for your assistance
|
|
|
Post by Admin on Nov 23, 2018 14:20:44 GMT
It would be possible to support the W5500 - we will check!
|
|
|
Post by Admin on Nov 27, 2018 8:25:56 GMT
Here is the source code for the bootloader. Unzip this to the "C:\Hitex\AURduinoIDE\Eclipse\AurduinoMulticoreUser" where it will transfer the relevant source files. The interface to the W5100 is in NET.CPP. aurix.zip (6.97 KB) Most of this was borrowed from the Arduino MEGA source code so we are not responsible for the untidy layout! If you can get this work, please send us back your source code and we will add it into the ShieldBuddy release.
|
|
hisun
New Member
Posts: 33
|
Post by hisun on Nov 27, 2018 17:10:59 GMT
Thank you for the source code.
I would like to ask your for source code for the functions tftpInit() and tftpPoll(), this 2 functions are used in BootLoader.cpp. Presumably the files tftp.h and tftp.c.
If I get this to work, I will send you the source code.
|
|
|
Post by Admin on Nov 30, 2018 8:13:05 GMT
|
|
hisun
New Member
Posts: 33
|
Post by hisun on Dec 5, 2018 14:41:01 GMT
Here is my source code for Bootloader with W5500. Bootloader.zip (16.67 KB) The Bootloader uses W5100 as default. Uncomment in net.h /* uncomment for Wiznet chip W5500 */ //#define W5500 then Bootloader uses W5500 functions. I tested it with a Mduino-21+, that is the only device I have with a w5500 chip.
|
|
|
Post by Admin on Dec 5, 2018 14:56:03 GMT
Thanks! You are a hero of the ShieldBuddy, first class.
We will integrate this into the next release.
|
|
|
Post by Admin on Dec 5, 2018 14:57:31 GMT
How are you using the bootloader? We added this feature a while ago but we never knew whether anyone was using it!
|
|