2003-06-02 06:29 AM
2011-05-17 02:54 AM
Hi,
We would like to know , '' how we can access the SRAM space 8K'' If we want to update/ read those location... what should be the syteps to achieve that.. Is there any application code which uses SRAM in IAP mode .... For more information: We have develo the IAP code for upsd323X. In this case our IAP code will be in seconday...& application is in primary page1/page2 using the swap bit of page register.. Now if we want to program the primary using IAP mode.& the packet size wil be of 20 bytes only....In this case we waould like to palce that in SRAM space & once verified we would like to copy the same in Primary flash. So we would like to know...how to access SRAM location .... It's w/o page & not overlapping to any of the flash location. Can we directly access these location??& wite using mov dptr,#(SRAM_LOCATION) mov a,#0xd0 ;data MOVX @dptr,a ;writng to location in SRAM (in data space) ret Thanks, Eagerly waiting for reply Purvi2011-05-17 02:54 AM
Hello,
Our USB example code also uses the uPSD's SRAM, you can download it from our website at: (dk3200_dsn_2.zip). The procedures on how to access the SRAM described in Sreeram's email is correct.