Jump to content
43oh

Library DNP3 to MSP430


Recommended Posts

 

 

This solution is in atmelstudio and i'am trying to compile that to an arduino uno but without success.

You are referring to an issue around Atmel microcontrollers on a Texas Instruments oriented site so it is very unlikely you will get a satisfactory response to your question.   Anyway, you will not get something written for an ARM processor using direct register access to compile on a 8 bit processor like the Uno.  Nor will it compile on a MSP430.  And it is unlikely that anyone has ported this to Arduino/Energia but the best persons to ask would be the authors of the firmware.

Link to post
Share on other sites

Definitely looks like a complex undertaking. But those are the best learning opportunities. :)

 

You will have to get an understanding about the overall architecture of OpenDNP. As @@Fmilburn suggested, contacting the owner or main contributors of the Github repository is probably your best bet when stuck on that topic. This includes getting their implementation to build. If the AVR implementation is working, there's a good chance that the FR6989 has sufficient resources.

 

The "embedded" link includes "adapter" sub-folders, which look like platform specific code for AtmelAVR and AtmelDue (probably referring to the boards, not the whole Arduino programming framework). I think the files in there are a good indication for what needs to be re-implemented for a new platform like MSP430. On a quick glance, the code doesn't look too extensive, which is encouraging.

 

Also check whether they make use of Atmel libraries in the code that's not platform specific.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...