- Posts: 1386
Debug printf to trainer port
- victzh
- Topic Author
- Offline
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
make clean
make TYPE=dev
you also need a UART->USB adapter. I use a CP2102 based $3 module from ebay.
The signal comes out the 'tip' of he phono plug.
Please Log in or Create an account to join the conversation.
- victzh
- Topic Author
- Offline
- Posts: 1386
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- kenkenlau
- Offline
- Posts: 35
may I know where is the IRQ handler located? I wish to try some code to receive data from trainer.
Thanks.
EDIT: and the TYPE=DEV only affect the std.h?
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
all of the low-level code is handled in target/common_devo OR target/devoXX. They are not all together though. The PPM-in stuff is in target/common_devo/ppmin.c
There is other irq stuff stuff in target/common_devo/clock.c as well as other places.
Please Log in or Create an account to join the conversation.
- victzh
- Topic Author
- Offline
- Posts: 1386
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- victzh
- Topic Author
- Offline
- Posts: 1386
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
The devo8 only has 3 wires. I need to look at my devo10. I guess they actually support bidi on the devo10
well, there are 4 wires on the connector, but only 3 are actually used on the devo8 is what I meant.
Please Log in or Create an account to join the conversation.
- victzh
- Topic Author
- Offline
- Posts: 1386
Please Log in or Create an account to join the conversation.
- kenkenlau
- Offline
- Posts: 35
Victzh,
whats the chipset? If it is a CP2102, it should be fine. If it is CH314, it may be ok. If it is PLXXXX, it does not work for me.
Please Log in or Create an account to join the conversation.
- victzh
- Topic Author
- Offline
- Posts: 1386
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Development
- Debug printf to trainer port