Split from: AS5 simulator support for ATmega2560

Go To Last Post
10 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Is there any chance of AS for linux ?  Using an Arduino2650, I am currently stumped by possible interrupt/counter conflicts for a personal project that also has commercial applications. Writes to OCR3B seem to cause the interrupt to be set on alternate cycles of TCNT3 in fast PWM mode 14. Channel A is working OK.  I am trying to generate in interleaved 3-phase PWM.
 

SBKenn_ie

Last Edited: Wed. Jan 3, 2018 - 08:12 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Not a hope.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

But see: http://www.avrfreaks.net/comment... - although that is about AVR32, the fact that it's GCC still applies ...

 

The is also the possibility (has been discussed here not so long ago) that Microchip might bring it all into their IDE - which might be cross-platform ...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

awneil wrote:
... Microchip might bring it all into their IDE - which might be cross-platform ...
That effort may be underway :

http://packs.download.atmel.com/#collapse-Atmel-XMEGAE-DFP-pdsc

1.2.51 (2017-04-06)

Added linux simulator models.

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The MPLAB IDE is cross platform.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

sbkenn wrote:
Writes to OCR3B seem to cause the interrupt to be set on alternate cycles of TCNT3 in fast PWM mode 14. C

 

Can you post a small complete program that demos this?

 

Jim

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Maybe as a separate thread - as this one seems to be focussing on "toolsets for linux"

 

and maybe re-title this one appropriately...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

The linux simulator models can be used wth this: https://github.com/avrsimulator/...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ki0bk wrote:
Can you post a small complete program that demos this?

See http://www.avrfreaks.net/forum/a... .

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JohanEkdahl wrote:
See http://www.avrfreaks.net/forum/a... .

because of #7