Parallel BUS problem


#1

Hy all

I have a big problem width q2687h parallel bus . I use R7.1a FW .

I subs to parallel bus width success . I not get any error code . The write and read is working fine .
But i not get any signal on A25 and A24 . The A1 line is working fine .

I investigate the problem and found a anomaly . I write zero to the address pin mask and A1 always
working . I write 0x07ffffff to mask A1 is always working but A25 and A24 not . Maybe look like
i set any one to address mask , not get any changes .

I modified the setting to CS2 from CS3 and CS2 output is comming out on the A24 line normaly .

Why not work the A25 and A24 line .

Here my init proc and after the wite proc

adl_busParallelSettings_t		local_setting =
	{
	ADL_BUS_PARALLEL_WIDTH_16_BITS,																	//width
	ADL_BUS_PARALLEL_MODE_ASYNC_INTEL,																//mode
	{0x00 , 0x00},																					// NC , NC
	{2, 3, 1, 3, 0, 0, 0, 0},																		//read timing
	{2, 3, 1, 3, 0, 0, 0, 0},																		//write timing
	{
		ADL_BUS_PARA_CS_TYPE_CS,																	// CS
		3,																							
		{ 0x00,0x00 }
	},
	{ 0, 0 },																						//PageCfg
	{ 0, 0, 0, 0, 0 },																				//Synch Cfg
	0x07FFFFFF,																						//Address pin
	};

	local_handle = adl_busSubscribe ( ADL_BUS_PARALLEL , 1 , &local_setting );



           local_ret = adl_busDirectWrite ( local_handle , local_address , 1 , local_sendbuff );

           //local_address is now 0x03000002

#2

Ahh et finaly i found the problems .

Problem 1 : In the original external storage sample have a syntaxys problem in the bus init
parameter setting . After the address mask found a extra “,” . If remove these
the parameter is become working .

problem 2 : The businit (i dont know why ) not accept the hexadecimal settings only decimal .

problem 3 : In the sample have 0x07FFFFFF mask setting . The cpu accept the but not using :smiley: that .
If use the corret 0x03FFFFFF that working fine on 2687 . If use 0x07FFFFFF working only
width WMP100 .

                I tested on both type . (WMP100 and 2687H)

                Now is working allbus is fine . :smiley:  :smiley:  :smiley:  :smiley: