peterantypas / maiana

MAIANA™ is the first Open Source AIS transponder. It proudly raises an extra long middle finger to the marine electronics industry, government overregulation and everything else that gets in the way of innovation in this space.
GNU General Public License v3.0
342 stars 71 forks source link

Help #62

Closed david-522 closed 2 years ago

david-522 commented 3 years ago

Very nice Job. I am trying to build the project(firmware folder) in eclipse mars.2 DS-5 Professional Edition Version: 5.26.2. I just downloaded the eclipse and it dose not show any toolchain in tool chain editor to select. I keep getting this error: make: *** No rule to make target 'all'. Stop. I tryed to add ARM plug in but I could not do it. How could I compile and build the project for Arm processor.

Thanks.

peterantypas commented 3 years ago

Why such an old version of Eclipse? I would start here:

https://www.eclipse.org/cdt/downloads.php

But first, download and install the ARM toolkit itself (arm-none-eabi-gcc etc) from here, and make sure it actually works.

peterantypas commented 3 years ago

Also, after you install Eclipse CDT (not the Java one), you must still install this package:

Screenshot from 2021-05-18 07-29-18

david-522 commented 3 years ago

Thank you very much Peter. That was very helpful. the project is build completely now. I am not able to Generate Hex file . is it necessary to have hex file or just elf format will be fine.

Regards, David.

peterantypas commented 3 years ago

This is often an issue with plain Eclipse. I find that I need to add those rules explicitly.

First, configure the Settings page for outputting a raw binary (not hex). Then do this:

Screenshot from 2021-05-21 15-37-35

david-522 commented 3 years ago

Thanks Peter. I really love this job you did.I am using STM412 and I build the project with eclipse and also uses J-Flash via SW programmer to load the elf file into the micro. I send Cli command but I dont get any reaction. if it is possible for you Please give me your email then I will send you the elf file that I make. I will appreciate if you take a look at it.

peterantypas commented 3 years ago

I've seen this on occasion too, what happens when you powercycle/reset and try again? Also, can you confirm the UART signal is getting through? The test pads for the UART are here:

Screenshot from 2021-05-22 07-44-00

david-522 commented 3 years ago

Thanks for the Advice. I have checked the UART and it is working OK. I wrote a code in keil and looped the send and receive pins. When I rest the board I dont see any reaction. cli command do nothing So I guess the elf file that I made is not OK. Is it possible for you to send me your elf file so I could check it on my board. I am very interested to so how it works. d.zeinali.n@gmail.com

Thanks, Regards.

peterantypas commented 3 years ago

Is your terminal sending CRLF at end of line?

Sent from my iPhone

On May 23, 2021, at 9:54 PM, david-522 @.***> wrote:

 Thanks for the Advice. I have checked the UART and it is working OK. I wrote a code in keil and looped the send and receive pins. When I rest the board I dont see any reaction. cli command do nothing So I guess the elf file that I made is not OK. Is it possible for you to send me your elf file so I could check it on my board. I am very interested to so how it works. @.***

Thanks, Regards.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

peterantypas commented 3 years ago

@david-522 did you ever resolve this?

david-522 commented 3 years ago

Thanks for asking. Nothing actually. could not get any reply.

peterantypas commented 3 years ago

What board revision did you use? I can try sending you a binary to flash into it directly.

david-522 commented 3 years ago

it is 10.0

peterantypas commented 3 years ago

Try this (gunzip first) maiana-transponder.bin.gz

peterantypas commented 3 years ago

Also, you may want to replace R1 and R2 with 0 ohm bridges and lose the Zeners next to them just in case they're interfering ...