[solved? i hope] spartan3e-500 sparkfun board, uncommon behavior on bootstrap  - Page 1
Forum section: electronics / general

author: legacy
author_rank: Super Contributor
timestamp: April 29, 2014, 12:42:38 pm
content: hi guysi have boughtthisboardhereit is the schematicthe onboardRS232-adapteris damaged (the TX is not working)so i have removed all the jumpers (on the jp9 connector) which connect the maxim chip to fpga pins, and i wired to external RS232 adaptor (3.3V, 5V tolerant, powered by the fpga regulator at 3.3V).i have put a 6809 SoC on bram (with SYSD9BUG v1.4 inside) and i have connect an uart cable to my PCthe problem is: it seems there is something which resets the SoC with cause uncommon behavior on the hyper terminal, i see thisCode:SYSD9BUG v1.4 FOR S3E> WHAT?SYSD9BUG v1.4 FOR S3E> WHAT?SYSD9BUG v1.4 FOR S3E> WHAT?SYSD9BUG v1.4 FOR S3E> WHAT?that means that the SoC has been reseted several timesThe same (VHDL) code has been synthesized for Digilent s3e-500-ug320 (instead of s3e-500-pg208of the sparkfun board), and i see this on bootstrapCode:SYSD9BUG v1.4 FOR S3E>I checked the PowerSupply, 5V,1A, and it is low ripple, also the sparkfun has an onboard regulator that should filter residual noises on VinWhat could be wrong ?should i investigate about the constraints, the hardware, the HDL ?any suggestion is welcome

author: legacy
author_rank: Super Contributor
timestamp: April 30, 2014, 08:35:12 am
content: any tips ?

author: scientist
author_rank: Frequent Contributor
timestamp: April 30, 2014, 11:44:09 pm
content: get a new board? trying to work around broken circuits can be fun, but it isn't always successful.

author: legacy
author_rank: Super Contributor
timestamp: April 30, 2014, 11:48:27 pm
content: the only broken part is the RS232 chip, the fpga has passed all the tests, including a very large SoC. The only issue i am experimenting is a strange behavior on bootstrap, once bootstrapped it works fine.any suggestion about that ?

author: scientist
author_rank: Frequent Contributor
timestamp: April 30, 2014, 11:53:10 pm
content: https://www.sparkfun.com/products/589Just buy one of these and replace the one on your board. It's $1.95.

author: legacy
author_rank: Super Contributor
timestamp: May 01, 2014, 01:39:04 am
content: Quotei am fine with this external adaptor, the issue is not related to that

author: scientist
author_rank: Frequent Contributor
timestamp: May 01, 2014, 03:01:12 am
content: i would not be surprised if your reset issues are caused by having a different offboard chip.

author: legacy
author_rank: Super Contributor
timestamp: May 01, 2014, 04:19:12 pm
content: it seems that today is the fix dayi have put my hot air station back in order to replace the RS232 damaged chip with a brand new one, all is well all ends well and the rx and tx are now working!unfortunately i got the same issue about the strange behaviour at bootstrap, so i have put a an eye on the project constraintsi have replaced thisCode:# Time specifications for 50MHz clock (soldered)# (40%/60% duty-cycle)#NET "CLK_50MHZ" LOC = "P181"with thisCode:# Time specifications for 50MHz clock (soldered)# (40%/60% duty-cycle)#NET "CLK_50MHZ" LOC = "P181" | IOSTANDARD = LVCMOS33 ;NET "CLK_50MHZ" PERIOD = 20 ns HIGH 40 %;i have also replaced theSYSD9BUG v1.4firmware with a tiny and extremely easy piece of code that- waits 200 cycles as early bootstrap- resets the uart before any initialization- does extremely paranoid built-in tests (such as address in address, cpu alu test, etc)- reports everything with TEST(X):{PASSED, FAILED}and ... i can't understand exactly why and whereSYSD9BUG v1.4has the uncommon behavior bootstrap issue, but according to these paranoid tests i can say the SoC is working on this fpga board because i have no TEST FAILED in my report screen.my conclusion(that my be wrong, inaccurate, etc, you have to consider i am not a fpga guru, i am just a fan)-SYSD9BUG v1.4has no issues on Digilent s3e-500-fg320@50Mhz (soldered clock) board, with speedgrade -4 and poor constraints about clock-SYSD9BUG v1.4has issues on Sparkfun s3e-500-pq208@50Mhz (soldered clock) board, speedgrade -4 and poor constraints about clock- it seems that the Sparkfun s3e-500-pq208board needs stronger constraints about clock

author: legacy
author_rank: Super Contributor
timestamp: May 01, 2014, 04:24:13 pm
content: in my tests i am resetting the board several and several time, still no uncommon behavioral at the bootstrapgoodnext point is to understand why Noice09 is not working on both the boards, it should be fine with digilent s3e-500 but it is not working at alli think i will write the fw by myself, it should be not so complicate to add a sort of srec-to-memory, but, to be honest, i like the Noice09 PC side, it's a good piece of software which enables you to download and track an application.okthank you for the support

author: scientist
author_rank: Frequent Contributor
timestamp: May 01, 2014, 06:58:23 pm
content: great!