Today I share some useful, for me, program for configuring Wizznet chips with compatible piece of code for Bascom so config can be be not hardcoded.
Bascom code is independent from my PC program. Wizznet can be configured by AT+ commands over COM port or ETH UDP. So you can add more commands for your needs by take example from my commands and then config your entire program for AVR by AT+ commands.
For typing you need only some terminal emulator (like enbeded in Bascom IDE) for COM communication. Then, for example, type "AT+HELP"CRLF and you get answear from AVR.
If you know previously programmed port for Wizznet UDP (5000 for example) then you can also connect to AVR by Ethernet network and this is more powerful then I think because you not must config Wizz again but you can also config your programm over network For quick config Im using program Hercules from HW-Group (UDP tab) but even MCS have Easytcpip program that should allw do the same.
For Example you type "AT+RST"CRLF and AVR will restart
Main purpose of this routines and PC program was that you can programm with one and the same Bascom code/program multiple AVR with Wizznet`s and then config them over serial for different MAC`s, IP`s etc. Tested on W5100 and W5500.
Code is maybe not fine optimized here because it is a part of bigger projects and I cut some parts of it. In every program It should be adapted in efficient way. This is only example.
excellent idea. thanks for sharing.
yes since each device must be unique this is a good way.
great you took the time to post it. _________________ Mark
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum