Main Menu
Menu

Show posts

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

Show posts Menu

Messages - xarion

#1
Hey Andy, sorry for my hasty remarks - I was a little frustrated :)
thanks for the info I'll zip up the FMtest and send it off to you. The starting of the bootloader using the break condition does work just the having issues with the fm_connect.

Great news on the .NET wrapper :)

Xarion
#2
here are my options ....

  options.osc            = 6;
  options.port           = atoi(comport);
  options.baudrate       = atol(baudrate);
  options.selecteddevice = FM_89LPC936;
  options.highspeed      = 0;
  options.clocks         = 0;
  options.halfduplex     = 0;
  options.hwconfig       = FM_HWNONE;
  options.hwt1           = 200;
  options.hwt2           = 200;
  options.i2caddr        = 0;
  options.maxbaudrate    = 9600;
  options.interfacetype  = FM_INTERFACETYPE_NONE;
  options.usingicp       = 0;

  presults = fm_connect(&options, sizeof(options));
#3
We bought the production system last week and are a bit dissapointed. There are no c# or vb wrappers or ocx's. You either have to use C++ or C++ not much of an option unless you want to code your own wrapper. Anyway I've gotten my head around the C++ dev IDE and seem to be having a problem with fm_connect. It seems many developers are in the same boat and have received very little support from the forums.
The issue is I am using a break detect to enter the LPC936 into ISP mode. Then I would imagine the app should send some U's to synch the baud rate with the micro. Now using the fm_connect function, I do not seen any data whatsoever being sent on the serial and therefore it doesn't connect. Am using VS2005 and the FMTest example provided.

Question 2: in order to use the fm_erase() does fm_connect need to return something valid or can you just call fm_erase if the micro is in ISP mode?

What am I missing?

Xarion