Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Wizznet Configurator

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Share your working BASCOM-AVR code here
View previous topic :: View next topic  
Author Message
EDC

Bascom Expert



Joined: 26 Mar 2014
Posts: 971

poland.gif
PostPosted: Thu Apr 23, 2020 1:17 pm    Post subject: Wizznet Configurator Reply with quote

Hello there Very Happy

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 Very Happy 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 Very Happy

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. Very Happy
Back to top
View user's profile Visit poster's website
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5915
Location: Holland

blank.gif
PostPosted: Sat Apr 25, 2020 2:25 pm    Post subject: Reply with quote

hi EDC

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
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Share your working BASCOM-AVR code here All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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