Software Updates

To get the firmware see the download section

PIC32-Basic 2.05 Released 5 August 2010

Updates
Bug Fix: to 'opencom' See the notes here at 'opencom' for changing the Baud rate

 

PIC32-Basic 2.04 Released 31 July 2010

Updates
Bug Fix: to second SD card, Added 'mount' keyword

 

PIC32-Basic 2.02 Released 28 July 2010

Updates
Interrupts: Added interrupt functionality and timer interrupts. The ZIP file now incorporates the latest version of BV-COM.

 

PIC32-Basic 2.00 Released 16 July 2010

Updates
This is a major new release of Basic that improves the file handling and I2C interface. It no longer runs on Micro-BOS and so a new application loader is required. This is a beta release so please report any bugs you find to email address

The instructions for upgrading are in the zip file in the downloads section and also here.

This release requires a new application loader and so can olny be upgraded with a PIC Programmer, once the new application loader is in place the programmer is not needed. If you do not have access to a programmer (i.e. PICkit) then please email the above and it can be done free of charge, you will just need to pay for the postage to get it here.


For information on how to load or re-load the PIC32-Basic application on the BV513 see the reload section in PIC-32 Basic. From release 1.446 onwards updates are available in the download section.

PIC32-Basic 1.474 Released 23 November 2009

Updates
Error Reporting When an error occurs an attempt is now made to print out the function that caused the error and also '>>>' is places at the point in the function where it occurred.

 

PIC32-Basic 1.473 Released 19 October 2009

Updates
Exit Function(bug fix) The 'exitf' and 'exitif' early exit to functions caused a LB Stack error when used in a functions that was called from a loop structure, Fixed.

 

PIC32-Basic 1.472 Released 8 October 2009

Updates
Scheduling Fix to a bug that caused the system tick to stop when the schedule was servicing a function.
Timer 4 is now used for the scheduler and set to 1ms
Timer 5 is used for the system tick which increments every 200us
Serial Input A software buffer (FIFO) has now been implemented for both UARTS that is 128 big. The input is on a high priority interrupt, along with the buffer this has meant some changes to the way some keywords behave.
adc() Fixed, it would only work on one channel.

 

New Statements (keywords) Added / Changed
inp() Has now changed slightly, the timeout is in ms whereas before it was an arbitrary period.
Key?() Will return the number of characters in the buffer.
------- New words
inpbuf$() Will get a string representing the contents of the buffer but will not clear the buffer.
inpstr$() Returns a sting in the buffer, a string must be terminated by CR (13) + optional LF(10)
inpput() This will place a character in the buffer, if a character is removed by key() it can be put back by this.
Error codes added for bufffer full and UART overrun

 

PIC32-Basic 1.470 Released 26 August 2009

Updates
Scheduling Fix to conversion problem.
I2C The master did not clock stretch properly leading to some clock errors when sending streams of data to slower devices.

 

New Statements (keywords) Added
The following new words have been added.

plugin, ccall(), ccall#() ccall$()  Enables C plug in mechanism

 

PIC32-Basic 1.461 Released 9 August 2009

Updates
Minor fix to floating point values

 

PIC32-Basic 1.460 Released 3 August 2009

Updates

Ports: Both setport and portb(w) have been updates so that when port B is selected it will automatically be set to a digital port. At reset port B is set to analogue.
'T': Added a toggle option to port & port()
'wpu' weak pull up can now be activated by this command

Tick() Now updates every 200uS on a high priority interrupt which can now be used for accurate timing.

Scheduler The scheduler (process) will now run every 1mS on a high priority interrupt.

 

New Statements (keywords) Added
The following new words have been added.

openadc, closeadc & adc()  Simplifies using the ADC without resorting to setting registers. this gives basic functioality.

 

PIC32-Basic 1.446 Released 24 July 2009

Updates
Just one fix to key() which was broken in release 1.445, This is also now available in the downloads section.

key()    Fixed.


PIC32-Basic 1.445 Released 20 July 2009

Updates
Updates to extend the opencom statement and also new statements to make the setting, reading and writing of ports less cryptic. The original portb and porw statements to remain as they are more flexible.

opencom Has now been extended to include CTS and RTS hardware handshaking on any chosen port.

setport New statement to set a port to either input or output

port & port() New statements

out$ This has an extended syntax to allow character contents after the port specifier.

print Fixed the problem with brackets

i2ctest()  Fixed, this is now simpler to use, returns 0 if the i2c channel has not been opened and is more reliable.

 

New Statements (keywords) Added
The following new words have been added.

rand()    returns whole random number between two limits