Show Posts
Pages: 1 2 [3] 4 5 ... 18
31  Products / Arduino Due / Re: SerialUSB RX Buff Size on: February 01, 2013, 12:35:11 pm
Hello,

I could be wrong but personally feel what ever different issues happened with USB.serial are not only related to buffer sizing.

As I've explained on some the threads a few weeks ago, the test i'm using is quite wide since it consists to have a Java GUI dialog with arduino mega via USB using SerPro protocol open sourced by Alvaro Lopes. In fact, this SerPro protocol is a RX/TX using an HDLC with 16 bits CRC, it has been running on different projects wether on PC or Macintosh for a few years, able to transfer one way or the other way many variables, single, frames... re-transmit if errors and so until the packets get through the link.

A while ago, i did try the protocol to my arduino DUE, in fact the way it has programmed in C and C++ is NOT dependent wether arduino DUE or arduino MEGA or arduino UNO but it never worked with DUE under IDE 1.5.1

I'm eager to have access soon to the new IDE to benchmark test if all the USB issues have been resolved.

Thank you, Albert
32  Products / Arduino Due / Re: New IDE release on: January 29, 2013, 12:47:35 pm
Hi cmaglie,

Good to have confirmation of 10x factor download difference but why DUE sketch is roughly 10x bigger in size than same code compiled on MEGA ?

Isn't any hope to reduce sketch size in the future because this creates time losses on project development ?

Albert
33  Products / Arduino Due / New IDE release on: January 23, 2013, 11:11:52 pm
Would it be possible to have a time estimate of when the new release will be published, in particular with Serial.USB subroutine updates ?
Thank you, Albert
34  Products / Arduino Due / Re: Timer Interrupts on Due on: January 06, 2013, 03:26:40 am
P.S. You might notice from time 7min 0s in the video that actually I live update by ISR (Interrupt Software Routines) all the FOUR internal 16-bit timers register so you'll se a global frequency sweeping up. Due to the special topology of my circuit, this is equivalent to have arduino MEGA-generate phase locked 8 independent PWM rails aka 8 channel frequency generator.



Once DUE will become more mature and guess as you said, the Atmel datasheet, such project will be easier with more timers and software possibilities with incredible few ns precision jitter.
35  Products / Arduino Due / Re: Timer Interrupts on Due on: January 06, 2013, 01:45:48 am
I really hope to have access to a new IDE so I can start using DUE on ALL my projects, more particularly its timers and interrupt routines.

You'll notice some of my boards hosting the MEGA as piggy board are in fact fully space compatible with DUE, the board were designed more than 1 year ago betting DUE will come up.

In fact, my special loose-coupled ferro-resonant project is bit stuck due to lack of more advanced timer low level inside MEGA.

As you said, world is not perfect but keeps moving.


36  Products / Arduino Due / Re: Timer Interrupts on Due on: January 06, 2013, 01:22:35 am
I do agree that the Sam... datasheet register are not very detailed, maybe a mix of Atmel releasing too early beta datasheet or whatever.

You might want see this video where I'm using the four 16-bits MEGA timers, each being specifically delayed 90°, 180°, 270° with less than 62.5 ns



P.S. In fact, there really SIX 16-bit timers, two of them are being emulated by my specific protoshield using some 74HCxy chips

Just hoping the arduino team will soon fix the USB serial issue via a new IDE release, at least on my side I cannot afford to migrate my actual project MEGA software using very advanced timer register tricks since i'm shuttling more than 5000 VAR's with my igbt's drivers, blue smoking and $$$ gone !

Once DUE serial USB will be OK, I'll look deeper on the DUE timers which i feel from datasheet are very very interesting with fascinating new features.
37  Products / Arduino Due / Re: Timer Interrupts on Due on: January 05, 2013, 11:50:51 pm
I really don't understand why you guys are not fully using the the complete potential of timer possibilities, of course requires fine register initialization but you could get very precise high frequency PWM even beyond 500 KHz or 1 MHz.

For the moment, i've doing so for years with arduino mega on my power electronics project (plasma drivers, full H-bridge, MWO inverters...) many of them, see old post then specific update code even though now is even more refined http://arduino.cc/forum/index.php/topic,8162.msg65115.html#msg65115 )

I do have an arduino DUE but as explained on other threads recently, I cannot download my actual MEGA projects using advanced arduino mega timer management because USB link of DUE is full of bugs.

Again I insist, just program the proper WAVESEL value and other registers, there is NO need to make interrupts slowing down and skewing the PWM jitter precision if using a timer, in particular with DUE being much more sophisticated timer possibilities than MEGA !

Just my 2 cents
38  Products / Arduino Due / Re: Timer Interrupts on Due on: January 05, 2013, 12:50:28 am
it seems to me you're subject to different waveform coding, with arduino mega look at fast PWM versus phase correct PWM but also frequency & phase correct PWM. The last 2 cases will divide by 2 the actual timer frequency generation.

I've quicked look on SAM3X... datasheet for the equivalent story, same except they use WAVSEL to choose whatever mode. Later on the datasheet, they also speak of center align or left align.

So there is no bug, just program correctly the registers...
39  Products / Arduino Due / Re: More ideas for new Arduino DUE compatible board on: December 17, 2012, 11:35:55 pm
Hi sweansw,

Just to make sure I follow, are you the person to have actually build then soldered the Taiji-uino as shown in your picture ?

Albert
40  Products / Arduino Due / Re: Arduino Due - Serial speed? on: December 14, 2012, 06:22:02 am
Hello Paul,

Again I insist, the download time is 10x

Here are some threads dealing with I think a more global issue related to Programmer USB port, in my case, I use MacBook Air where my code has been running for years on mega, it is Serial protocol using HDLC on to of USB.

http://arduino.cc/forum/index.php/topic,134847
http://arduino.cc/forum/index.php/topic,135011
http://arduino.cc/forum/index.php/topic,135095

P.S. My arduino DUE is not a beta, just bought in belgium recently at antratek company

Albert
41  Products / Arduino Due / Re: Arduino Due - Serial speed? on: December 13, 2012, 10:40:48 pm
well, it is not just doubling download time, it takes 10 times more so I doubt the same code takes 10 times size more on DUE than on MEGA.
42  Products / Arduino Due / Re: Arduino Due - Serial speed? on: December 12, 2012, 11:05:20 pm
On some other recent threads, it is clearly observed that the Serial USB link wether HW or SW (low level or high level) have serious speed issue. One way to perceive this, there are many other methods and practical tests, is by observing the same *.INO project loaded on mega takes almost no time to USB download but HUGE time to download on DUE.
43  Products / Arduino Due / Re: Garbage using serial functions in Arduino Due on: December 02, 2012, 10:49:34 pm
P.S. Another thing that I've noticed, maybe i'm not doing something right with IDE but i've noticed two differences between same code compile/load on MEGA versus on DUE:
  • both compilation times seem similar
  • downloading into DUE takes more than 10 or 20 times than downloading into MEGA

Do you think this could be related to the same issue we're discussing here ?
44  Products / Arduino Due / Re: Garbage using serial functions in Arduino Due on: December 02, 2012, 01:20:57 pm
In my case, it happens at 112500 bauds. I could change easily my software which consist to make dialog a Java GUI on MacBook Air with my Mega or my Due but i don't feel loosing anymore time on this since it is obvious in this thread or other recent related threads the Serial.libs function in 1.5 IDE are the root cause of this issue... Sorry !
45  Products / Arduino Due / Re: SerialEvent() wont work on: December 02, 2012, 11:08:58 am
Hi fat16lib,

I'm bit lost, not sure to understand your last post, have you found a fix or would it better waiting for another IDE release or fix directly from arduino team ?

In my case where I'm porting a big arduino mega project into arduino due, i need to use different Serial functions, not only Serial.begin(baud_rate), Serial.available() and Serial.read() but also functions like Serial.write() and Serial.flush()

Thank you in advance, Albert
Pages: 1 2 [3] 4 5 ... 18