Open rkoe opened 6 years ago
Which branch are you using for this? I can’t test this this weekend but you
could try this against edge or dev-168-gquintic branches. Note that you
will likely need to run git submodule update
after switching branches
unless you are using a GUI git client like Sourcetree that does that
automatically.
I've used the stable branch (100.26). I've now also tried the g2core-edge-branch, but I got the same error. (I've also tried to switch Motate to the edge branch, but this results in a lot of errors, since e.g. the number of parameters for _MAKE_MOTATE_PWM_PIN seems to have changed.)
Any news or more hints about this? I would like to make this work, and I hope that I don't have to read the whole code, so any hint would be appreciated.
Is it "only" a bug, and how can it be fixed, or where can I read more? Or is the non-USB-UART-communication not supported at all, and so I would have to (nearly) completely implement it?
It looks correct afaict. I can’t test this configuration now but it looks like it’s not auto detecting the DMA correctly.
I believe that chip uses PDC DMA for the USART. If you put a #warning pragma here: https://github.com/synthetos/Motate/blob/master/MotateProject/motate/Atmel_sam_common/SamDMA.h
You should see the message you put after #warning when you compile. If you don’t, then it’s not correctly auto detecting it. That is configured here: https://github.com/synthetos/Motate/blob/master/MotateProject/motate/Atmel_sam_common/SamCommon.h
(It only checks for 0 and assumes it will have 1 as well. It doesn’t appear to support 2, that is another bug.)
Hopefully this helps if you can get to it before I can.
-Rob On Mon, Apr 9, 2018 at 11:00 AM Roland Koebler notifications@github.com wrote:
Any news or more hints about this? I would like to make this work, and I hope that I don't have to read the whole code, so any hint would be appreciated.
Is it "only" a bug, and how can it be fixed, or where can I read more? Or is the non-USB-UART-communication not supported at all, and so I would have to (nearly) completely implement it?
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/synthetos/g2/issues/326#issuecomment-379803422, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXj0cGRSUCkseDPWzbMqCXdSA-_zTQfks5tm4WwgaJpZM4TCkHs .
I tried some more, but without success.
The DUE-ARM has 5 uart/usart-interfaces:
Results:
UART: When I select the UART (URXD/UTXD, DUE-pins RX/TX, DUE-pinnumbers 0/1), and select some other pins for RTS/CTS, compiling works. BUT: I don't think this would work correctly, since
USART: When I select USART0 (RXD0/TXD0/RTS0/CTS0, DUE-pins 19, 18, 2, 20) or USART1 (RXD1/TXD1/RTS0/CTS0, DUE-pins 17, 16, 23, 24), compiling fails with the aboce "dma-error".
Did you got the solution rkoe?
I have exactly the same error. Is there a solution for this problem?
Hi, is it possible to use g2core on an Arduino DUE and communicate with it with UART instead of USB?
I've already modified gShield-pinout.h: I've disabled USB, enabled UART and set/shifted some pins (for details: see below). But when I try to compile I get the following error-messages:
How can this be fixed? I would appreciate any hint.
My gShield-pinout.h modifications: