Jump to content

Recommended Posts

Posted

Dear Digilent engineers

    I found that the OpenscopeMZ board often suffers from uploading errors at such a high baud rate of 1250000. Dear Digilent engineers can give a bootloader with a low speed baud rate (115200).Thanks a lot!

Arduino IDE information:

DigilentPGM V1.00
Digilent Copyright 2016
Written by Keith Vogel

Comm Port: COM6
Baud rate set to: 115200
Extended Digilent Bootloader Found
Board Name: OpenScope
Vendor: Digilent
Bootloader Version: 0x2010001
Capabilities: 0x170f0631
Device ID: 0x17218053
Flash Page Size: 16384
Flash Row Size: 2048
Baud rate set to: 1250000

Processing HEX file: C:\Users\victory\AppData\Local\Temp\build165fca84ebe346105b2c775e8473ba0c.tmp/OpenScope.ino.hex
Opened HEX file: C:\Users\victory\AppData\Local\Temp\build165fca84ebe346105b2c775e8473ba0c.tmp\OpenScope.ino.hex
Successfully processed HEX file: C:\Users\victory\AppData\Local\Temp\build165fca84ebe346105b2c775e8473ba0c.tmp/OpenScope.ino.hex
Program block size: 2048 bytes
Number of blocks: 251
Program size: 514048 bytes
HEX file processing time: 0s 90ms

Starting Programming:  0123456789 0123456789 0123456789 0123456789 0123456789 
                       0123456789 0123456789 0123456789 0123456789 0123456789 
                       0123456789 0123456789 0123456789 0123456789 0123456789 
                       0123456789 0123456789 0123456789 0123456789 0123456789 
                       0123456789 0123456789 0123456789 012345678TimedOut waiting for Serial Response
Failed to program data at address: 0x1d078000

Program time: 19s 6ms

TimedOut waiting for Serial Response
Unable to program HEX file
End of Program

Posted

Hey,

We did a lot of testing with the 1250000 baud rate because we were concerned that some USB ports might have problems.  We've described a known issue cause by this baud rate, but it only affects USB 2.0 'Full Speed' ports (remember USB 'High Speed' is faster than 'Full Speed)', and only when transfering large buffers of data.  We have never found this baud rate the be an issue during firmware loading since it uses many small data packets.

Can you provide more details about your system and the USB port you're using?  Have you tried other ports on the same computer and other computers?

Thanks!

-Kristoff

Posted
9 hours ago, Kristoff said:

Hey,

We did a lot of testing with the 1250000 baud rate because we were concerned that some USB ports might have problems.  We've described a known issue cause by this baud rate, but it only affects USB 2.0 'Full Speed' ports (remember USB 'High Speed' is faster than 'Full Speed)', and only when transfering large buffers of data.  We have never found this baud rate the be an issue during firmware loading since it uses many small data packets.

Can you provide more details about your system and the USB port you're using?  Have you tried other ports on the same computer and other computers?

Thanks!

-Kristoff

Thanks dear Kristoff.

    I do it in WIN10 and with USB High Speed Port.Besides,I test it in other students PC ,but it always failed.

    Now I want a lower baud to test, In order to solve this problem that bothers me.Dear Kristoff ,can you give a bootloader with a low speed baud rate (115200 or others) to test it.Thanks a lot!

Posted
14 hours ago, Kristoff said:

Hey Jiandan,

Are you able to upload firmware to the OpenScope MZ using WaveForms Live? 

Thanks!

-Kristoff

Dear Kristoff,

    I try to use upload firmware to the OpenScope MZ using WaveForms Live.It is successful.Thank you!

    But  this serial download with problem should be solved ,because using WaveForms Live need net support it that it is not convenience.

In addition,I  try to use he hex file generated by the arduino IDE that after downloading it with the PICkit 3 but it does not work.As you said that the hex file produced by the Arduino IDE does not include the bootloader so programming it to the OpenScope with a PICkit 3 will likely override the bootloader.

 

Thanks  a   lot !

Posted

Hey Jiandan,

If you're using the OpenScope MZ with WaveForms live you will never need to program it using the Arduino IDE, MPLAB or the PICkit3.  All firmware updates should be done through the WaveForms Live software.  WaveForms Live is available offline as well and is built into the Digilent Agent (see details in the FAQ under Is WaveForms Live available offline).

WaveForms live uses the Digilent Agent to load firmware onto the OpenScope MZ at the 1250000 baud rate, so the baud rate is not the issue if you're able to do that successfully.

It sounds like the hex file generated by the Arduino IDE is not generated correctly and does not work.

-Kristoff

 

Posted
12 hours ago, Kristoff said:

Hey Jiandan,

If you're using the OpenScope MZ with WaveForms live you will never need to program it using the Arduino IDE, MPLAB or the PICkit3.  All firmware updates should be done through the WaveForms Live software.  WaveForms Live is available offline as well and is built into the Digilent Agent (see details in the FAQ under Is WaveForms Live available offline).

WaveForms live uses the Digilent Agent to load firmware onto the OpenScope MZ at the 1250000 baud rate, so the baud rate is not the issue if you're able to do that successfully.

It sounds like the hex file generated by the Arduino IDE is not generated correctly and does not work.

-Kristoff

 

Dear  Kristoff

Thanks a  lot , I tested it several times and found that using WaveForms live would be a little more successful and slightly more successful, but  there would be an update failure too (LED1 OFF). I  hope that you give a lower baud rate bootloader when you are free, thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...