Products > Test Equipment

FeelTech FY6600 60MHz 2-Ch VCO Function Arbitrary Waveform Signal Generator

<< < (425/450) > >>

fremen67:

--- Quote from: DaveR on October 05, 2019, 07:16:52 pm ---
--- Quote from: fremen67 on October 05, 2019, 04:33:14 pm ---Did you activated the last startup configuration option before it happens? Should you reproduced the problem, could you back up the whole MCU before erasing it? It should allow me to detect which parameter caused the problem. I suppose that the MCU crashed at started when loading the last configuration parameters. I will also add extra checks to detect potential problems.

--- End quote ---

Hi Fremen.  I'm pretty sure I was running with M1 enabled, and I certainly had another saved config in M2.  The problem when error 380 strikes is that the parameters mostly go back to their defaults (or some improbable value such as -1 sec sweep time) or are blank.  Although you can change tabs, the screens themselves are completely frozen, so any chance you might have had of correcting an obviously incorrect parameter is gone - one of my first thoughts was to load one of the saved configurations, but there was no way to do it.  The Startup configuration on the Config page had also changed back to "Default" and likewise couldn't be changed again.  I wish I'd thought to take some screenshots, as they might have been of use to you.  After deciding that the nuclear option was the only way left, I unzipped a fresh copy of the 0.8.hex file and did a memory comparison against it before I erased the MCU, and the ST-LINK Utility found no differences, so it was obvious that the program code itself hadn't been damaged.  I can't see any option to make a full chip backup, but presumably I could download the pages used for data storage if I knew their start address and size (if ST-Link will allow it)?  If you let me know where to look I'll see if I can save the contents next time it happens.  (I could have used another bluepill last night and retained all the evidence, as it happens, but it was after 3am and my brain was slowing down!)

Regards,
Dave

--- End quote ---
The easiest is to save the full content of the MCU.
You enter a size of 0x20000, right click on Device Memory tab and "save to file" as .hex file

DaveR:

--- Quote from: fremen67 on October 05, 2019, 04:33:14 pm ---Did you activated the last startup configuration option before it happens? Should you reproduced the problem, could you back up the whole MCU before erasing it? It should allow me to detect which parameter caused the problem. I suppose that the MCU crashed at started when loading the last configuration parameters. I will also add extra checks to detect potential problems.

--- End quote ---

I just tried to create Error 380, and managed it first time!  The procedure is as follows:

Start with working software and FY6600, change some values and save the configuration (I started with defaults and set Ch1 to 10MHz sine wave at 3.5v ampl., and Ch2 to 20MHz sine wave at 5v, then saved the config to M2).  Ensure "Last" is checked in Config window.

Go to the Waveform window and press "Reset Waveform" then "Send Data".  The program will try to send something somewhere, then put up a message saying "No answer from generator".
At this point the software will now be completely unresponsive and may have to be forcibly closed using Task Manager.

Restart the software and Error 380 will pop up.  The Control and Config windows should look something like the attached (as you can see, the Control window is nothing like it should be).  Tonight the Control window is frozen solid, but the buttons in the Config window can still be "pressed", even though they don't do anything.

I've also got a bluepill which will probably contain some corrupted data (if I can get to it), although the ST-Link utility again shows nothing wrong with the program in memory. (But you can now easily create some corruption of own.)

Regards,
Dave

** Edit:  Hex Dump added. **

DaveR:

--- Quote from: fremen67 on October 05, 2019, 08:49:05 pm ---The easiest is to save the full content of the MCU.
You enter a size of 0x20000, right click on Device Memory tab and "save to file" as .hex file

--- End quote ---

Added to attachments in previous message!

fremen67:

--- Quote from: DaveR on October 05, 2019, 09:10:35 pm ---
--- Quote from: fremen67 on October 05, 2019, 04:33:14 pm ---Did you activated the last startup configuration option before it happens? Should you reproduced the problem, could you back up the whole MCU before erasing it? It should allow me to detect which parameter caused the problem. I suppose that the MCU crashed at started when loading the last configuration parameters. I will also add extra checks to detect potential problems.

--- End quote ---

I just tried to create Error 380, and managed it first time!  The procedure is as follows:

Start with working software and FY6600, change some values and save the configuration (I started with defaults and set Ch1 to 10MHz sine wave at 3.5v ampl., and Ch2 to 20MHz sine wave at 5v, then saved the config to M2).  Ensure "Last" is checked in Config window.

Go to the Waveform window and press "Reset Waveform" then "Send Data".  The program will try to send something somewhere, then put up a message saying "No answer from generator".
At this point the software will now be completely unresponsive and may have to be forcibly closed using Task Manager.

Restart the software and Error 380 will pop up.  The Control and Config windows should look something like the attached (as you can see, the Control window is nothing like it should be).  Tonight the Control window is frozen solid, but the buttons in the Config window can still be "pressed", even though they don't do anything.

I've also got a bluepill which will probably contain some corrupted data (if I can get to it), although the ST-Link utility again shows nothing wrong with the program in memory. (But you can now easily create some corruption of own.)

Regards,
Dave

** Edit:  Hex Dump added. **

--- End quote ---
Thank you Dave for the backup  :-+

My development machine for the PC Software is a Virtual Machine running Windows XP as I need VB6 studio which does not run under Windows 10. With this machine I can't reproduce your problem.
When I run PC Software 0.8 directly from my host machine which is Windows 10, I get the error message "No answer from generator" when downloading any waveform, then I have to kill the program with the task manager and restart the function generator but it does not corrupt the flash memory from the MCU... I will see tomorrow with my Logic Analyser what is going on with Win10.

I loaded my bluepill with your backup and also got the error 380. Some data in the flash is corrupted in M1 (sweep data on CH1 and CH2). I don't know yet if it is related to the wave transfer which failed or if it happened when you saved the config to M2. As you had to restart the bluepill after that, it loaded corrupted data from M1 to current parameters …. and PC Software obviously did not liked it. As you have no keyboard nor LCD connected to your bluepill, you can't correct the values directly in the bluepill and your only solution is to reflash the bluepill.
The good news is that I can easily modify PC Software to deal with incorrect values, I can also modify the firmware to check the values coming from the flash at startup.
The question remaining is how did the flash get corrupted ?
Could you try again the exact same procedure after having reflashed the bluepill?
Also could you check the voltage on your bluepill power supply input?

Thank you again!

Edit: In M1 I can see CH1 with 10Mhz and 3.5V, CH2 with 20Mhz but amplitude is not 5V but 2.5V … if you are sure for the 5V, that is an interesting information.

DaveR:
Hi Fremen - new hex dump as requested, and BP input voltage (from FY6600) is 4.945v, rock steady.  This time the software didn't freeze as it did before, and I could close it down normally, but it still gave Error 380 when it was restarted, and the Control window was corrupted.  This time, though, it allowed me to enter new values for the frequencies of the two channels - but no matter what I put in the popup, the number shown in the value boxes was always 20000000 on both channels!  Subsequent restarts of the software, however, show the attached Control window, in which drop-downs can be changed but all values are frozen.   It looks as if the effects of the corruption may vary randomly, even if the cause is the same.

The 2.5v shown for Ch2 in M1 is probably correct, thinking about it - I set it to 5v initially and saved the setup to M2, then changed it to 2.5v so that the config saved in M1 would be different.  At least, that's definitely what I did this time, and almost certainly what I did previously (so probably not as good a lead as you first thought?).

I'm running 64bit Win7, by the way, just to add another variable into the equation.

If you want any more tests doing, it won't be a problem, but they'll have to wait until tomorrow, as I'm off to try and catch up on some sleep :)

Regards,
Dave

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod