Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - ahmetonat

1
USB serial LCD backpack / Re: Which framework version for USB serial LCD backpack? SOL
This is solved. The problem was a misleading comment in project file: "main.c"

It states:
    //1.Download and install the USB source. These files install to c:Microchip Soultions by default.
    //2.Place the project folder in the Microchip source install directory (c:Microchip Soultions by default)
    //3.Copy usb_config.h & usb_descriptors.c from Microchip SolutionsUSB Device - CDC - Basic DemoCDC - Basic Demo - Firmware3 to the project folder.
    //4. That's it. You've got the latest source and we're compliant with the license.

However, the file "usb_config.h" provided by Microchip is not suitable for this project; it specifies interrupt service for USB, while polling is used in this project. So if you want to re-compile, disregard step #3 above about usb_config.h.

BTW the project was compiled on MplabX Beta5, on Linux.
2
USB serial LCD backpack / Which framework version for USB serial LCD backpack?
Hi;

I want to adapt the "USB serial LCD backpack" to our generic microcomputer board SuboardII (see: fens.sabanciuniv.edu/suboard ).  We are using the MCHPFSUSB bootloader; original of Microchip. As far as I can see the applications are compatible between that and the bootloader designed into the backpack.

The original .hex file supplied in the archive activates the USB interface fine; the test program connects and appropriate pins seem to be exercised. But since the LCD pinout is different, I must recompile.

When I compile the source, I can print to the LCD without problems, but the USB does not work. (I get no compilation errors BTW).

I thought that perhaps I am using the wrong version of the Microchip Suite. What was the Suite version for the original buillds?

Best,

Ahmet.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01182278176session_write_close ( )...(null):0
20.01212409776ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01212410552Database_MySQL->query( ).../DatabaseHandler.php:119
40.05532549296Database_MySQL->error( ).../Db-mysql.class.php:273