Subject:
|
kernel hacking in lnp.c (problem)
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Thu, 1 Mar 2001 11:42:47 GMT
|
Viewed:
|
1400 times
|
| |
| |
hi everybody.
in /kernel/lnp.c
there is a function called lnp_receive_packet.
here im trying to insert a function that will display whatever came in
the data field when lnp_receive_packet was called.
(interested in seeing everything, including headers,etc)
i have made it so that it will only display the data when i press the
view button.
anyways it compiles fine and i get it to download to the RCX, but when i
try to download another "user" program to the rcx
i always get "error deleting program"
so.heh...i guess im missing something pretty obvous here, but i cant
seem to figgure it out.
any advice greatly appriciated
kenneth johansen
kennethj@stud.cs.uit.no
|
|
Message has 1 Reply: | | Re: kernel hacking in lnp.c (problem)
|
| (...) Posting your code would help a lot :-). lnp_receive_packet() is called after the integrity layer has verified the checksum from an interrupt handler. So your code should be short e never call functions that wait or may cause a task switch. dll (...) (24 years ago, 1-Mar-01, to lugnet.robotics.rcx.legos)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|