Good day,
We're trying to bring up a board with an RM46. We have both the HDK and our own (One the RM46L852ZWT on the HDK, and the PGE on our board).
I've been able to get most things working, but I can't really test out anything ethernet related because the dang thing won't pull an IP address. I've hooked up the HDK into a linksys router, and my laptop as well running a packet sniffer. I can see the HDK throw out a DHCP request, and the linksys router responds with a DHCP offer, and then it goes nowhere and times out. The line of code it's waiting at in lwiplib.c is
while((*state != DHCP_BOUND) && (cnt--));
Now, the fun thing is, I can get this system to work if I copy/paste the RM48 demo project. But as soon as I use halcogen (3.0.5, have to, since the PGE part number isn't supported by versions less than 3.0.4) and try to create the project from scratch using the demo project as a template (exact same includes and order, file structure, etc) I can't get DHCP to get its address. Everything else functions fine though.
Using 3.0.5 breaks emac.h and mdio.h, as they're asking for uint8/16/32's that are then undefined all of a sudden, so I have to re-include sys_common.h. This issue didn't happen in 3.02, but that halcogen version broke DHCP too. Other than that, this is a basic stock configuration that I'm trying to build on top of. Any clues as to what I'm missing?
Thanks,