spirilis 1,265 Posted May 26, 2014 Share Posted May 26, 2014 Hm, DHCP server buffer got corrupted it seems, during the renewal phase it says it's sending to 1.0.0.0? Odd... Maybe just ignore the renewal stuff for now. Sent from my Galaxy Note II with Tapatalk 4 Quote Link to post Share on other sites
ofer 0 Posted May 26, 2014 Share Posted May 26, 2014 The DHCP server keeps on changing every reset: DHCP lease information: 54550 seconds, DHCPserver = 106.227.230.24 DHCP lease information: 54550 seconds, DHCPserver = 3.0.8.0 DHCP lease information: 54550 seconds, DHCPserver = 34.123.255.91 Quote Link to post Share on other sites
spirilis 1,265 Posted May 26, 2014 Share Posted May 26, 2014 I'll verify that later this week to see if the code has bugs I hadn't caught. You are just using my basic example without extra code right? If you've added your own code you should look into whether there is a memory collision happening particularly on the G2553. There really isn't much memory on those things. Sent from my Galaxy Note 10.1 Quote Link to post Share on other sites
ofer 0 Posted June 1, 2014 Share Posted June 1, 2014 hi @@spirilis, when i use the debug i only use the basic example code. Quote Link to post Share on other sites
spirilis 1,265 Posted June 1, 2014 Share Posted June 1, 2014 @@ofer Which compiler are you using btw? I had only tested it under mspgcc fwiw. Sent from my Galaxy Note II with Tapatalk 4 Quote Link to post Share on other sites
ofer 0 Posted June 1, 2014 Share Posted June 1, 2014 What do you mean? Quote Link to post Share on other sites
spirilis 1,265 Posted June 1, 2014 Share Posted June 1, 2014 What do you mean?Are you using CCS with TI's proprietary compiler, or an mspgcc-based build environment (e.g. under Linux or MacOSX or similar). I develop my code under Linux with mspgcc's compiler tools although try to keep it compatible w/ TI's compiler. Sent from my Galaxy Note II with Tapatalk 4 Quote Link to post Share on other sites
ofer 0 Posted June 1, 2014 Share Posted June 1, 2014 Ahhh... yeah I use CCS with TI's proprietary compiler Quote Link to post Share on other sites
ofer 0 Posted June 9, 2014 Share Posted June 9, 2014 HI @spirili, i have to routers in my lan that can provide DHCP, maybe that's causing the problems? Thanks, Ofer. Quote Link to post Share on other sites
dubnet 238 Posted June 9, 2014 Share Posted June 9, 2014 More than one DHCP server in a LAN segment will definitely create problems. Sometimes a client will use one DHCP server and sometimes the other so you never know for sure which subnet you will land in. Quote Link to post Share on other sites
spirilis 1,265 Posted June 9, 2014 Share Posted June 9, 2014 Hmm, that would be a weird one..... I think my lib should handle it correctly but I'll have to look again at the code. Sent from my Galaxy Note II with Tapatalk 4 Quote Link to post Share on other sites
MatheusLPS 0 Posted June 24, 2014 Share Posted June 24, 2014 With this booster pack and the MSP430 am I able to make a small network? Like: 1 server + 1 clients. Alll clientes may send data do the server and the server send commands to the clients. Is it possible (over local ethernet)? Quote Link to post Share on other sites
spirilis 1,265 Posted June 24, 2014 Share Posted June 24, 2014 With this booster pack and the MSP430 am I able to make a small network? Like: 1 server + 1 clients. Alll clientes may send data do the server and the server send commands to the clients. Is it possible (over local ethernet)? I don't see any reason why not... If you don't have a hub or switch you might need to use a crossover cable between them, but I haven't tried it. Quote Link to post Share on other sites
mgonsalv 0 Posted July 14, 2014 Share Posted July 14, 2014 What do I need to do in CCS to get wiznet_debug_printf to write to the console? I see that the program is running and it is attempting to get a DHCP address, but there is no output. The code in wiznet_debug_puts and wiznet_debug_putc does get executed when I step through the code. I'm new to CCS and might have missed a basic config. Thanks. Quote Link to post Share on other sites
spirilis 1,265 Posted July 15, 2014 Share Posted July 15, 2014 Those functions output to serial port by default. I am pretty sure those can dump to the CIO console in CCS but I don't have any personal experience with it. Maybe reimplement the wiznet_debug_puts and wiznet_debug_putc with the system library's printf()? Or see if puts and putc work with CIO... Sent from my Galaxy Note II with Tapatalk 4 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.