While making a test application for this thread, I noticed that when a compile fails (usually due to my horrible typing), the debug window warns me that the .zxc file (that would have been created if the compile succeded) "is not a valid download file"
It seems to me that this message, although true, is a bit odd. The fact that the IDE changes the lower pane's focus to the debug tab, rather that staying on the output tab (where I can see what the actual error is) is the only part that's actually a problem though.
-Don
Odd debug output from compiler
Re: Odd debug output from compiler
This situation is a by product of changes that were made in the way that the internal downloader in the IDE is used in order to avoid access violations, and "freezes". When that code was changed, we neglected to add a test for a successful build before proceeding with the download.Don_Kirby wrote:I noticed that when a compile fails, the debug window warns me that the .zxc file "is not a valid download file".
This problem has been fixed and an updated IDE is available at download/ZBasicIDE/ZBasicIDE_1-3-4.zip. The updated version also supports downloading using an ATN character via the internal downloader so you don't need to use zload.exe for that now. See the "Serial Port Options" dialog for configuring this. The device's ATN character is also displayed on the Device Options dialog after the device has been identified.
- Don Kinzer
The new IDE seems to work well.
Is there any way to tell if the current download is via DTR or not? I'm assuming that if the ATN character is enabled in the serial port options dialog, that subsequent downloads will be DTR-less. Perhaps a message such as "Downloading file XXX using ATN Character [ATNChar]". Likewise, for DTR usage, it could be "Downloading file XXX using DTR".
I know it seems like a no-brainer, if you have the character set, it downloads sans-DTR. For newcomers to the platform though, it could be confusing; similar to the chip dialog box in BasicX. People forget the options are there if it's not blatantly displayed.
-Don
Is there any way to tell if the current download is via DTR or not? I'm assuming that if the ATN character is enabled in the serial port options dialog, that subsequent downloads will be DTR-less. Perhaps a message such as "Downloading file XXX using ATN Character [ATNChar]". Likewise, for DTR usage, it could be "Downloading file XXX using DTR".
I know it seems like a no-brainer, if you have the character set, it downloads sans-DTR. For newcomers to the platform though, it could be confusing; similar to the chip dialog box in BasicX. People forget the options are there if it's not blatantly displayed.
-Don