...Shanklin argues on appeal that his petition for writ of habeas corpus was properly filed in the county in which he is detained, pursuant to section
79.09, Florida Statutes. He further asserts that the writ of habeas corpus is the proper remedy under section
907.045, Florida Statutes, because he challenges the validity of the probable cause affidavit supporting the charging Information, and that the circuit court in Santa Rosa County erred in treating his petition as a motion for post-conviction relief cognizable only by the sentencing court. Chapter 907 addresses pre-trial detention and release. Section
907.045 provides the writ of habeas corpus as a pre-trial remedy for a challenge to the indictment, information, or affidavit upon which a defendant is in custody and upon which “he or she can be tried,” not upon which he or she has already been tried and sentenced....
...certain fundamental grounds not applicable here. See Fla. R. Crim. P. 3.190(c)(l)-(4). Mr. Shanklin’s sentences were entered in April 2006, and so his case *622 is well beyond arraignment and other pretrial stages of the litigation. Not only does section 907.045 fail to provide a post-conviction remedy for the writ of habeas corpus in this situation, but rule 3.850(m), Florida Rules of Criminal Procedure specifically limits applications for the writ of habeas corpus to those cases where “th...