Version 0.95 Suggestions

This forum is for information about Version 0.95 of the Simulator for Arduino. Please post any enhancements, suggestions, problems, issues and bugs in here.

Moderator: Adrian

Simulator_admin
Site Admin
Posts: 237
Joined: Thu Feb 02, 2012 6:07 pm

Version 0.95 Suggestions

Postby Simulator_admin » Wed Feb 22, 2012 8:26 am

### EDIT ### - version 0.95 is now released and available for download.

We have revised the program up to version 0.95, and looked to fix as many issues as possible, and add some new features. The Pro Version can be downloaded from the same page that v0.94 was available at.

New Improvement in v0.95:
1. Run/Stop button changes state when Abort is pressed or error is found
2. Add syntax colouring where possible
3. Improved the Uno/Mega selection - Uno picture will only shows pins 0-13
4. Added a font selection for the program listbox
5. BUG - Fixed reset issue with Line Numbers on - caused by attempted parse of commented line
6. String addition not recognised - "This" + "That" prints as is
7. LCD Scroll goes past characters allowed
8. Match Brace option Added
9. Add Windows Themes - still to test if it works on a separate PC
10. Improve variable area to have individual + for folding arrays
11. Improve error processing so sketch errors are different from possible Simulator errors
12. if/While loops need to check for commented lines
13. Include file directory sometimes loses the directory (caused by UNO/Mega)
14. increase digital pins to 53, analog pins to 8
15. add a button area to reset switch and crystal

For next time:
1. Make the Mega picture smaller
2. Improve Program Window to have separate column for program counter and breakpoints
3. Add LCD y constraint - improve LCD memory buffer

Simulator_admin
Site Admin
Posts: 237
Joined: Thu Feb 02, 2012 6:07 pm

Re: Version 0.95 Suggestions

Postby Simulator_admin » Thu Mar 01, 2012 5:07 pm

With v0.95 released, we will be releasing a patch for so many fault reports, if there are no show stoppers. Most of the issues now should be relatively minor and are mostly enhancements.

Here is a list of work left:
- SPI pins wrong for Mega - DONE
- Wire pins added for UNO & Mega - DONE
- calling subroutines from arguments - this is very difficult - DONE (To be checked)
- add in A8 to A15 for Mega - DONE
- check porta, portb, portc and pina etc
- improve hardware other option
- maybe add Freetronics eleven and Seeed Mega
- fix Ethernet skerch which recursively calls files
- make objects open port1,port2,3,4,5
- check return float
- add images to reset, crystal
- turn on ON light when running - DONE
- Make the Mega picture smaller
- Improve Program Window to have separate column for program counter and breakpoints
- Add LCD y constraint - improve LCD memory buffer
- click on USB port to run in minimize mode
- convert registry settings to XML for x-platformV

2-Mar - Question about support for Graphic LCDs
6-Mar - request for FreqCounter Library
- Serial.print(cnt++) - this was faulty - now FIXED
- while () expression (on next line with no braces) was faulty - now FIXED
7-Mar Request for a reseller option which requires software licencing

FolkEngineer
Posts: 8
Joined: Mon Feb 20, 2012 2:00 pm

Re: Version 0.95 Suggestions

Postby FolkEngineer » Fri Mar 09, 2012 7:54 am

Maybe I'm the fringe element, but I'd like to see a Mac OS X version!
Currently works fine in Parallels and VMWare VM systems I have though.

Pete

Simulator_admin
Site Admin
Posts: 237
Joined: Thu Feb 02, 2012 6:07 pm

Re: Version 0.95 Suggestions

Postby Simulator_admin » Fri Mar 09, 2012 9:17 am

Hi Pete, looking at the stats for Feb, 16% of users were using Mac to browse the website so this is a growing fringe. We do have plans to upgrade to MAC and iOS which would be huge, but the cross-platform technology we are planning to use is still being improved (FireMonkey). First, it would be good to iron out all the issues and there still seem to be a few such as pre and post increment ++. This month there haven't been any bug reports except for a request for a custom library FreqCounter.

v.095A has just been released now, with some of the changes listed above. The main reason to release was to rev up the Free version and improve the way the delay works to encourage more Pro Users. The main changes are adding in the analog pins for A8-A15 for the Mega, and being able to set DDR and PORT registers. Reading these registers is next on the list. Will make a new list for v0.95B soon.

EDIT - just added another update since we did a change so that Void loop() would run OK, and changed all keywords to lowercase which meant that no include libraries would work such as "SPI.h". Anyone who downloaded the latest version in the last 6hrs, please redownload. Some other changes are to have the leds on the Arduino board functional now. Will start a new topic for v0.95A changes towards a v0.95B version

Dehackyea
Posts: 1
Joined: Sat Mar 03, 2012 5:09 am

Re: Version 0.95 Suggestions

Postby Dehackyea » Sat Mar 31, 2012 8:09 am

Have just started using the V0.95 and I must say well done as an Arduino simulator tool is badly needed. I've noticed some bugs however such as:
1. The return statement in functions does not work.
2 Input parameter of functions do not work if they are declared unsigned.
3. Symbolic constants are always zero regardless of what they were assigned using the #define directive

Simulator_admin
Site Admin
Posts: 237
Joined: Thu Feb 02, 2012 6:07 pm

Re: Version 0.95 Suggestions

Postby Simulator_admin » Mon Apr 02, 2012 11:35 am

Thanks for letting us know about these issues
1. The latest patch version 0.95B should address the return issue. Try the test/test15.ino sketch which now works well in v0.95B, otherwise let us know if there is still an issue.
2. Unsigned Ints are a problem, and this will be fixed in the next version.
3. Symbolic constants also are a problem and will be fixed in the next version.

Here is a test sketch below which will be used to check future versions:

int i,j;
#define XYZ 345

int check(unsigned int x)
{
return x+5;
}

void setup() {
// put your setup code here, to run once:
i = XYZ;
}

void loop() {
// put your main code here, to run repeatedly:

j = check(i++);
}


The Simulator now runs this sketch, but is in the process of having some more features added, so the next version will be released when a full check is done. Thanks again for advising us about these issues.

Simulator_admin
Site Admin
Posts: 237
Joined: Thu Feb 02, 2012 6:07 pm

Re: Version 0.95 Suggestions

Postby Simulator_admin » Tue Apr 03, 2012 6:02 pm

The Simulator for Arduino program has just been upgraded to v0.95C patch - here is the full list of bugs (probably a few more left :oops: ). The Patch version means that the program has only been tested against the test sketches in the 09 Test folder, and so has not had a full check, and the help has not been updated. If there are any more bugs, let us know - our Flak jacket is now getting a bit worn.


Return to “Version 0.95”

Who is online

Users browsing this forum: No registered users and 1 guest