victory460

Members
  • Content count

    23
  • Joined

  • Last visited

  1. Hello! I use Arduino IDE Upload,but it Checksum failed. such as: DigilentPGM V1.00 Digilent Copyright 2016 Written by Keith Vogel Comm Port: COM5 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\buildf32f661be52264a7c3c309557dfd8404.tmp/ReadAnalogVoltage.ino.hex Opened HEX file: C:\Users\victory\AppData\Local\Temp\buildf32f661be52264a7c3c309557dfd8404.tmp\ReadAnalogVoltage.ino.hex Successfully processed HEX file: C:\Users\victory\AppData\Local\Temp\buildf32f661be52264a7c3c309557dfd8404.tmp/ReadAnalogVoltage.ino.hex Program block size: 2048 bytes Number of blocks: 17 Program size: 34816 bytes HEX file processing time: 0s 29ms Checksum failed End of Program I want to know the "Checksum failed" error means in the serial communication or internal flash program stage ? Will my chip be broken? If it is broken, I will buy a new chip and solder it. Then,Can I use it directly?Is there any other operation that needs to be done?
  2. Thank you very much! I select 4 and 12 pin,because in Board_Defs.h. I do not know whether this is correct or not, and I urgently need to solve these problems because I want to print the results of the OpenScope MZ measurement through the serial1 port.
  3. My goal is to add another one serial communication to OpenScope MZ then I tried to use a soft serial port in the OpenScope MZ firmware, but it compiled failed. Arduino:1.6.9 (Windows 10), "Digilent OpenScope" In file included from C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\cores\pic32/WProgram.h:20:0, from C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\cores\pic32/Arduino.h:4, from C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial/SoftwareSerial.h:40, from sketch\main.cpp:17: C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\cores\pic32/HardwareSerial.h:264:39: error: conflicting declaration 'HardwareSerial Serial' extern HardwareSerial Serial; ^ In file included from sketch\main.cpp:15:0: OpenScope.h:1486: error: 'Serial' has a previous declaration as 'OSSerial Serial' extern OSSerial Serial; ^ exit status 255 'Serial' has a previous declaration as 'OSSerial Serial' I know this question is repeated definition Serial, but I do not know how to modify it to add a serial port. This Firmware: https://github.com/victory460/OpenScope Please help me to add one serial communication to OpenScope MZ .Thank you very much. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- And I try another other ways to this requirement,such as: I'm trying to use Serial1 in the OpenScope MZ firmware By using the OSSerial module . I make the following changes in GlobalData.cpp and in OpenScope.h. GlobalData.cpp: Which dma parameters, I just fill 1, which is what should be filled DMA figures? OpenScope.h: Then I add Serial1.begin(SERIALBAUDRATE); in the main.cpp, but it compiled failed that ' Serial1' was not declared in this scope. Then I try to find where the original Serial declared,but I cannot find it.I want to know where the original Serial instance is declared ? How to solve this problem of ' Serial1' was not declared in this scope? Besides,what codes should add in Initialize.cpp follow this: This Firmware: https://github.com/victory460/OpenScopeOSSerial Please help me.I just want to add the serial1 transceiver for OpenScope MZ.
  4. Thank you very much for your answer, I followed your approach, and it succeeded. My goal is to add another one serial communication to OpenScope MZ then I tried to use a soft serial port in the OpenScope MZ firmware, but it compiled failed. Arduino:1.6.9 (Windows 10), "Digilent OpenScope" In file included from C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\cores\pic32/WProgram.h:20:0, from C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\cores\pic32/Arduino.h:4, from C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial/SoftwareSerial.h:40, from sketch\main.cpp:17: C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\cores\pic32/HardwareSerial.h:264:39: error: conflicting declaration 'HardwareSerial Serial' extern HardwareSerial Serial; ^ In file included from sketch\main.cpp:15:0: OpenScope.h:1486: error: 'Serial' has a previous declaration as 'OSSerial Serial' extern OSSerial Serial; ^ exit status 255 'Serial' has a previous declaration as 'OSSerial Serial' I know this question is repeated definition Serial, but I do not know how to modify it to add a serial port. Please help me to add one serial communication to OpenScope MZ .Thank you very much. OpenScope MZ Firmware:https://github.com/victory460/OpenScope @tom21091
  5. I'm trying to use Serial1 in the OpenScope MZ firmware By using the OSSerial module . I make the following changes in GlobalData.cpp and in OpenScope.h. GlobalData.cpp: Which dma parameters, I just fill 1, which is what should be filled DMA figures? OpenScope.h: Then I add Serial1.begin(SERIALBAUDRATE); in the main.cpp, but it compiled failed that ' Serial1' was not declared in this scope. Then I try to find where the original Serial declared,but I cannot find it.I want to know where the original Serial instance is declared ? How to solve this problem of ' Serial1' was not declared in this scope? Besides,what codes should add in Initialize.cpp follow this: This Firmware https://github.com/victory460/OpenScopeOSSerial Please help me.I just want to increase the serial1 transceiver for OpenScope MZ.
  6. I tried to use ‘ Arduino15 \ packages \ Digilent \ hardware \ pic32 \ 1.0.3 \ libraries \ SoftwareSerial\examples\SoftwareSerialExample‘ Soft serial port to achieve a send and receive function, but it is wrong: Arduino:1.6.9 (Windows 10), "Digilent WiFIRE(Rev D)" C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp: In member function 'void SoftwareSerial::begin(long int, uint32_t)': C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:700:20: error: 'volatile union __CNCONAbits_t' has no member named 'SIDL' CNCONAbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:703:20: error: 'volatile union __CNCONBbits_t' has no member named 'SIDL' CNCONBbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:706:20: error: 'volatile union __CNCONCbits_t' has no member named 'SIDL' CNCONCbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:709:20: error: 'volatile union __CNCONDbits_t' has no member named 'SIDL' CNCONDbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:712:20: error: 'volatile union __CNCONEbits_t' has no member named 'SIDL' CNCONEbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:715:20: error: 'volatile union __CNCONFbits_t' has no member named 'SIDL' CNCONFbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:718:20: error: 'volatile union __CNCONGbits_t' has no member named 'SIDL' CNCONGbits.SIDL = 0; ^ exit status 255 which is why?How to solve it?
  7. Hello! I cannot find Tutorials and Example Projects of Wi-FIRE Board. Where do I to go to find it?
  8. It does not matter, but still thank you very much for your reply. I tried to use ‘ Arduino15 \ packages \ Digilent \ hardware \ pic32 \ 1.0.3 \ libraries \ SoftwareSerial\examples\SoftwareSerialExample‘ Soft serial port to achieve such a function, but it is wrong: Arduino IDE errors: Arduino:1.6.9 (Windows 10), "Digilent WiFIRE(Rev D)" C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp: In member function 'void SoftwareSerial::begin(long int, uint32_t)': C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:700:20: error: 'volatile union __CNCONAbits_t' has no member named 'SIDL' CNCONAbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:703:20: error: 'volatile union __CNCONBbits_t' has no member named 'SIDL' CNCONBbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:706:20: error: 'volatile union __CNCONCbits_t' has no member named 'SIDL' CNCONCbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:709:20: error: 'volatile union __CNCONDbits_t' has no member named 'SIDL' CNCONDbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:712:20: error: 'volatile union __CNCONEbits_t' has no member named 'SIDL' CNCONEbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:715:20: error: 'volatile union __CNCONFbits_t' has no member named 'SIDL' CNCONFbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:718:20: error: 'volatile union __CNCONGbits_t' has no member named 'SIDL' CNCONGbits.SIDL = 0; ^ exit status 255 which is why?How to solve it?
  9. Thanks a lot, I will try to use MPLABX to build this project by the way to learn it.Can you give me a project for MPLABX .zip that you used to develop OpenScope MZ as a reference?Thanks a lot. @Kristoff @JColvin
  10. Thank you very much.Are you using the Arduino IDE when developing? I found the editing tips for this Arduino IDE so weak and not smart enough. If you are using MPLAB-X development, can you give me a simple steps to import this project, as the above answer. thank you very much.
  11. Thanks a lot! I would like to establish a separate simple project to use the serial port (RF4, RF5) in the logic analyzer to realize the data receiving and sending functions. But without the help of Arduino API, I do not know how to implement such a function. Could you give me such a simple example? (By github link or others). Thanks a lot! @Kristoff
  12. Hello,I would like to use openscopeMZ as arduino board to do some small applications, but I do not know pinout table of OpenscopeMZ as arduinio.Can you give me a table like this or sampler than it : https://reference.digilentinc.com/reference/microprocessor/wi-fire/reference-manual or like this: or give me a way to find the answer of it. @everyone @sudharsan.sukumar @Kristoff Thanks a lot !
  13. Thank you very much, I am very confused about this and need to help urgently.
  14. Hello, Everyone.When I use the built-in Blink Arduino example for Openscope, it compiled error. Arduino:1.6.9 (Windows 10), "Digilent OpenScope" c:\users\victory\appdata\local\arduino15\packages\digilent\tools\xc32-tools\xc32-1.43\bin\bin\gcc\pic32mx\4.8.3\..\..\..\..\bin/xc32-ld.exe: MPIDE Version not specified correctly c:\users\victory\appdata\local\arduino15\packages\digilent\tools\xc32-tools\xc32-1.43\bin\bin\gcc\pic32mx\4.8.3\..\..\..\..\bin/xc32-ld.exe: Link terminated due to previous error(s). collect2.exe: error: ld returned 255 exit status exit status 255 The built-in Blink Arduino example codes: why,How to fix it?