I use the following construction:
int main(void)
{
halInit();
chSysInit();
...
chThdCreateStatic(network_wa, sizeof(network_wa), NORMALPRIO, network_thread, NULL);
chThdExit(0); // include chSysLock(); but not chSysUnlock(); (dbg_lock_cnt=1)
while (1){}
}
static WORKING_AREA ...
Search found 3 matches
- Fri Jan 23, 2015 7:47 am
- Forum: STM32 Support
- Topic: STM32+uIP+ENC28J60
- Replies: 5
- Views: 7888
- Fri Jan 23, 2015 6:19 am
- Forum: STM32 Support
- Topic: STM32+uIP+ENC28J60
- Replies: 5
- Views: 7888
Re: STM32+uIP+ENC28J60
I'll try enable DBG (all DBG options - TRUE), and now I have an error at the start.
int main (void) - performed well.
First start network_thread, and start initialization.
Successfully comes to function chEvtRegister (& per_evt.et_es, & per_el, EVID_NET_PERIODIC); but during this execution ...
void ...
int main (void) - performed well.
First start network_thread, and start initialization.
Successfully comes to function chEvtRegister (& per_evt.et_es, & per_el, EVID_NET_PERIODIC); but during this execution ...
void ...
- Wed Jan 21, 2015 5:31 am
- Forum: STM32 Support
- Topic: STM32+uIP+ENC28J60
- Replies: 5
- Views: 7888
STM32+uIP+ENC28J60
Greetings to all!
I have recently been using ChibiOS, and now I have to develop a project that unites: STM32F103 + ChibiOS + uIP + ENC28J60 (Ethernet module).
STM32F103C8T6 controller and compiler Keil.
I'm using some code Josef Gajdusek (atalax) of m
What is working:
SPI communication with ENC28J60 ...
I have recently been using ChibiOS, and now I have to develop a project that unites: STM32F103 + ChibiOS + uIP + ENC28J60 (Ethernet module).
STM32F103C8T6 controller and compiler Keil.
I'm using some code Josef Gajdusek (atalax) of m
What is working:
SPI communication with ENC28J60 ...