|
|
 Rank: Administration Groups: Administration
, Member, Other Mods
Joined: 12/3/2007 Posts: 225 Points: 424 Location: Stafford
|
Code is zipped here. Program uses the Luminary Micro LM3S8962 board with the evaluation keil compiler and the 2110 board. The evaluation kit is available from Digikey for $79 Accepts 2 can messages from the board and displays either CAN 1 or CAN 2 depending on which button is pressed. So far 5536 bytes of the 20K. File Attachment(s):
NMEACan1.zip (182kb) downloaded 64 time(s).
Unzinced ships sink at slips.
|
|
|
|
Please Register : New members may not post until approved. An email is sent after approval. We do this to reduce those who use these forums for spamming.
This forum is for Marinette Owners and other aluminum boat boaters who wish to share boating information. Aluminum Roamer owners are also welcome. (Do not post content you do not have the right to post and mass (robots) posters are unwelcome. We also have a marine electronics page and lots of Chrysler Engine info. State by what permission, you copy content and accredit properly.) The site is now fixed with some more Chrysler information. I will try to post more information soon. We have space for pictures on the new location. Use shinkpic to autochange size http://www.onthegosoft.com/sp_download.htm
Great Sites - http://www.marinette.com Marinette Company
http://www.geocities.com/dougmrose/ Wiring Marinette
http://fastjeff.tripod.com/ Repair Tricks and Techniques for Marinettes
http://www.greatlakesmarinetteclub.com/
PLEASE post in the appropriate folder. Please, do not post your actual email address in publicly readable websites.
The first rule is be a class act.
|
|
 Rank: Administration Groups: Administration
, Member, Other Mods
Joined: 12/3/2007 Posts: 225 Points: 424 Location: Stafford
|
What's next.... I plan to set up the filter on the device to accept (read only) filtered messages (either J1939 or NMEA 2000). Something simple. Barely readable is the CAN 2 message from pressing the #2 button on the 2110 board. The 8962 data sheet is 1/2 way down the page. http://www.luminarymicro.com/home/data_sheets.html
marinettejoe attached the following image(s):


Unzinced ships sink at slips.
|
|
 Rank: Administration Groups: Administration
, Member, Other Mods
Joined: 12/3/2007 Posts: 225 Points: 424 Location: Stafford
|
http://www.luminarymicro.com/products/lm3s8962_can_ethernet_evaluation_kit.html I am using the EKK evaluation copy limited to 20K . I have the Code Sourcery also, but am finding Keil a lot easier. The kit is $79 bucks from Digikey.
Unzinced ships sink at slips.
|
|
 Rank: Administration Groups: Administration
, Member, Other Mods
Joined: 12/3/2007 Posts: 225 Points: 424 Location: Stafford
|
Still gutting it from a sample project... Keeping something working... So far 20 hours invested.
Unzinced ships sink at slips.
|
|
 Rank: Administration Groups: Administration
, Member, Other Mods
Joined: 12/3/2007 Posts: 225 Points: 424 Location: Stafford
|
Have decided on the first project requirements. The project will read (only) all can messages and output them to serial/usb. Every 100 ticks or so Both engine Tachometers will be displayed.
Should be simple enough.
Unzinced ships sink at slips.
|
|
 Rank: Administration Groups: Administration
, Member, Other Mods
Joined: 12/3/2007 Posts: 225 Points: 424 Location: Stafford
|
I will not be posting those can /NMEA 2000 messages to the serial bus, but will write them to the microSD and a webservice.
Luminary Micro's 8962 kit is great. I have a sprintf memory leak... Time to use snprintf and get the C book out. Really wish I could use Bounds checker on ARM.
Those using new OBDII kits (Elmscan 5) will note that there is a can diagnostic kit. I may pick one up to hack it for NMEA2000.
Unzinced ships sink at slips.
|
|
 Rank: Administration Groups: Administration
, Member, Other Mods
Joined: 12/3/2007 Posts: 225 Points: 424 Location: Stafford
|
Here is NMEACAN2.zip. Fixed the leak in snprintf. I needed to allocate heap of 200 bytes and 500 bytes to the stack) for stdio library calls. Idiot!!! standard lib calls need heap and stack memory. Sheesh. Currently the code is just CAN message handling from button press and is not much more than the LM code. I need to revise it for NMEA 2000 messages, so more protocol work and decoding. This seems to be the only NMEA2000 hobby project in process on the net. It's design will be to collect CAN messages and allocate them to by PGN handler code as a dispatcher. Most messages will be ignored by the filter. So far just about 30 hours invested. Faster than I expected. The blurry pic reads Hello World! Joe Canx00000010 (Msg ID) with Data Byte1 x01 (pressed can button 1). This is 250K rate. The LM board is very nice. File Attachment(s):
NMEACAN2.zip (224kb) downloaded 32 time(s).
marinettejoe attached the following image(s):

Unzinced ships sink at slips.
|
|
 Rank: Administration Groups: Administration
, Member, Other Mods
Joined: 12/3/2007 Posts: 225 Points: 424 Location: Stafford
|
Good paper on the address claim process URL http://www.agen.okstate.edu/Home/mstone/papers/Dynadr/dynadr.htm
Unzinced ships sink at slips.
|
|
 Rank: Administration Groups: Administration
, Member, Other Mods
Joined: 12/3/2007 Posts: 225 Points: 424 Location: Stafford
|
Status Still waiting on parts from wesgarde and an optoisolator from digikey.
I want to get the boat back, install the Maretron Fuel sender and the finish the kvaser test harness, to finish this out.
Unzinced ships sink at slips.
|
|
 Rank: Administration Groups: Administration
, Member, Other Mods
Joined: 12/3/2007 Posts: 225 Points: 424 Location: Stafford
|
marinettejoe wrote:Status Still waiting on parts from wesgarde and an optoisolator from digikey.
I want to get the boat back, install the Maretron Fuel sender and the finish the kvaser test harness, to finish this out.
And still waiting. Was promised this on the 25th and is was supposedly sent out.
Unzinced ships sink at slips.
|
|
 Rank: Administration Groups: Administration
, Member, Other Mods
Joined: 12/3/2007 Posts: 225 Points: 424 Location: Stafford
|
The parts are in.... Wesgarde came through.... Just need time to finish it.
Unzinced ships sink at slips.
|
|
|
Guest2 |