Shop OBEX P1 Docs P2 Docs Learn Events
PINK no longer receive through serial input pin — Parallax Forums

PINK no longer receive through serial input pin

MoskogMoskog Posts: 554
edited 2011-11-06 08:07 in General Discussion
My PINK is no longer able to receive variable values through the serial input pin.
I can modify variables with the factory page and the values stays there as long as power is connected but the vaiables will not be overwritten each time the BS writes to the PINK.

I have checked the power, no problems, no resets, I tried a different BS and I also checked RX-pin on PINK with scope and find no errors.

I can access the PINK from the network without any problem, upload and download.

The BS updates the variables every twenty seconds or so.
The PINK has been running for almost a year, seven days a week, with no problems until this happend. Now it's only displaying NA where variables should be.

Looks like a serial input issue on the PINK, anyone have any ideas here?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2011-10-03 13:10
    Let's see ... updates every 20 seconds means 3 per minute, 180 per hour, 4320 per day, 1576800 per year. EEPROMs are generally rated for 100000 write cycles and often will handle more than that. You've worn out your EEPROM and it won't take any more write cycles.
  • MoskogMoskog Posts: 554
    edited 2011-10-03 22:24
    OK, Mike, but it seems I still can modify the values through the netburner's factory page. Also, the PINK keep the values (modified that way) as long as power is on but forget them if I disconnect the power. Shouldn't EEPROM still remember even a power out? Is it a special kind of EEPROM here?

    Edit:
    Back from work reading Parallax' own datasheet on PINK, page 5 about variables:
    The PINK module has 100 general purpose variables and 18 dedicated system variables. Each variable can store up to 64 bytes max. The first general purpose variables (0 through 19) can be written to flash memory as power-on defaults. The remaining general purpose variables (20 through 99) are RAM variables only and the data is lost when power is cycled.

    I am using variables in the RAM area only (20-99), not writing to one single of the flash-memory variables. I can't find any information that these RAM locations could be worn out. Sorry I didn't mention what variable location I am using, in my first post.
  • MoskogMoskog Posts: 554
    edited 2011-11-06 08:07
    I found out why PINK no longer received variable values. The solution could be found in the PINK's factory page. The serial baud-rate was set to 19200bps by unknown reason. Should have been 2400bps to match the Basic Stamp code. I have no idea why this has changed, most likely I have done it by myself by mistake, or somebody else has been in there as it never was password protected.
Sign In or Register to comment.