nicolad76
05-01-2008, 08:40 AM
Hi,
I was using PASD to find out why my code does not work and I notice that variables values in COG memory do not mach the initial setting.
This as I strat PASD. Now..I compared with the demo coming with PASD and it looks ok...so it must be me...
this is ow I have declared the variables
m_OutPins·················long %00000000_11111111_01111100_00000000
m_DataPins··············· long %00000000_11111111_00000000_00000000
m_LoadPicture··········· long· %00000101
m_StopLoading·········· long· %10000101
m_DisplayPicture········ long· %01000101
m_Count·················· long· 60000
m_DisplaySize··········· long· %01000111
m_Reset·················· long· %01110111
m_SetDepth············· long· %11001111
m_Depth_BlackWhite·· long· %00000000
m_EraseDisplay········· long· %11000101
m_CLR_Black············ long· %00000000
m_CLR_White············long· %10000000
m_CLR_DarkGray········long· %01000000
m_CLR_LightGray·······long· %11000000
m_Orientation·········· long· %10101111
m_InitDisplay············ long· %00100101
m_Autorefresh·············· long %10011111
m_CancelAutorefresh········ long %01011111
m_ManualRefresh············ long %00111111
m_Orientation_00······· long· %00000000
m_Orientation_90······· long· %10000000
m_Orientation_180······ long· %01000000
m_Orientation_270······ long· %11000000
timer·················· long 0
m_FakeData·· byte %10011001
m_NRST······ long |<· H_NRST·
m_WUP······· long |<· H_WUP·
m_CD········ long |<· H_CD
m_DS········ long |<· H_DS
m_RW········ long |<· H_RW·
m_ACK······· long |<· H_ACK
m_DataByte·············· res 1
m_Cnt··················· res 1
tdelay·················· res 1
what is wrong here? could the problem depend on something else?
Thanks A LOT!!!
Post Edited (nicolad76) : 5/1/2008 11:49:36 AM GMT
I was using PASD to find out why my code does not work and I notice that variables values in COG memory do not mach the initial setting.
This as I strat PASD. Now..I compared with the demo coming with PASD and it looks ok...so it must be me...
this is ow I have declared the variables
m_OutPins·················long %00000000_11111111_01111100_00000000
m_DataPins··············· long %00000000_11111111_00000000_00000000
m_LoadPicture··········· long· %00000101
m_StopLoading·········· long· %10000101
m_DisplayPicture········ long· %01000101
m_Count·················· long· 60000
m_DisplaySize··········· long· %01000111
m_Reset·················· long· %01110111
m_SetDepth············· long· %11001111
m_Depth_BlackWhite·· long· %00000000
m_EraseDisplay········· long· %11000101
m_CLR_Black············ long· %00000000
m_CLR_White············long· %10000000
m_CLR_DarkGray········long· %01000000
m_CLR_LightGray·······long· %11000000
m_Orientation·········· long· %10101111
m_InitDisplay············ long· %00100101
m_Autorefresh·············· long %10011111
m_CancelAutorefresh········ long %01011111
m_ManualRefresh············ long %00111111
m_Orientation_00······· long· %00000000
m_Orientation_90······· long· %10000000
m_Orientation_180······ long· %01000000
m_Orientation_270······ long· %11000000
timer·················· long 0
m_FakeData·· byte %10011001
m_NRST······ long |<· H_NRST·
m_WUP······· long |<· H_WUP·
m_CD········ long |<· H_CD
m_DS········ long |<· H_DS
m_RW········ long |<· H_RW·
m_ACK······· long |<· H_ACK
m_DataByte·············· res 1
m_Cnt··················· res 1
tdelay·················· res 1
what is wrong here? could the problem depend on something else?
Thanks A LOT!!!
Post Edited (nicolad76) : 5/1/2008 11:49:36 AM GMT